autofixture.interfaces.InstanceGenerator Maven / Gradle / Ivy
The newest version!
package autofixture.interfaces;
public interface InstanceGenerator {
boolean appliesTo(InstanceType instanceType);
@SuppressWarnings("unchecked")
T next(InstanceType instanceType, FixtureContract fixture);
@SuppressWarnings("unchecked")
T nextEmpty(InstanceType instanceType, FixtureContract fixture);
void setOmittingAutoProperties(boolean isOn);
}