<T> ISpecimenBuilder<T> |
Fixture.build(SpecimenType<T> type) |
Creates a ISpecimenBuilder<T> to customise the object of type T to be created
|
<T> ISpecimenBuilder<T> |
Fixture.build(Class<T> type) |
Creates a ISpecimenBuilder<T> to customise the object of type T to be created
|
<U> ISpecimenBuilder<T> |
ISpecimenBuilder.with(SpecimenType<U> type,
U value) |
|
<U> ISpecimenBuilder<T> |
ISpecimenBuilder.with(Class<U> type,
U value) |
|
ISpecimenBuilder<T> |
ISpecimenBuilder.with(String fieldName,
Object value) |
|
ISpecimenBuilder<T> |
ISpecimenBuilder.with(Consumer<T> function) |
|
<U> ISpecimenBuilder<T> |
SpecimenBuilder.with(SpecimenType<U> type,
U value) |
Sets all fields with the specified type to the specified value during object creation.
|
<U> ISpecimenBuilder<T> |
SpecimenBuilder.with(Class<U> type,
U value) |
Sets all fields with the specified type to the specified value during object creation.
|
ISpecimenBuilder<T> |
SpecimenBuilder.with(String fieldName,
Object value) |
Sets the field with the specified name to the specified value during object creation
|
ISpecimenBuilder<T> |
SpecimenBuilder.with(Consumer<T> function) |
Applies the specified function to the created object
|
ISpecimenBuilder<T> |
ISpecimenBuilder.without(String fieldName) |
|
ISpecimenBuilder<T> |
SpecimenBuilder.without(String fieldName) |
Omits the field with the specified name during object creation
Primitives will receive their respective default-value, objects will be null
|