public interface StartDefinition
| Modifier and Type | Method and Description |
|---|---|
FieldDefinition |
addField(String name,
Generator generator)
Adds a field to be generated.
|
RecordDefinition |
use(Class<?> c)
Specifies a class that will be used to generate fields.
|
RecordDefinition use(Class<?> c)
c - the class which the random data is to be generated forFieldDefinition addField(String name, Generator generator)
name - String that names the fieldgenerator - Generator object that creates random values for the fieldCopyright © 2017. All Rights Reserved.