public interface Generator<T>
| Modifier and Type | Method and Description |
|---|---|
T |
generate(Class<?> clazz,
Field field,
Limiter limiter)
Generates an instance of this class with random test data
|
boolean |
supportsType(Class<?> clazz)
Returns true if this Generator can generate an instance of this class.
|
T generate(Class<?> clazz, Field field, Limiter limiter)
clazz - class to createfield - used to determine generic type (i.e. collections)limiter - used to limit the randomness of the databoolean supportsType(Class<?> clazz)
clazz - class instance to checkCopyright © 2019. All rights reserved.