com.flextrade.jfixture.FluentCustomisation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jfixture Show documentation
Show all versions of jfixture Show documentation
JFixture is an open source library based on the popular .NET library, AutoFixture
package com.flextrade.jfixture;
import com.flextrade.jfixture.customisation.Customisation;
import com.flextrade.jfixture.customisation.fluent.AutoPropertyBehaviour;
import com.flextrade.jfixture.customisation.fluent.NoResolutionBehaviour;
import com.flextrade.jfixture.customisation.fluent.RecursionBehaviour;
import com.flextrade.jfixture.utility.Interceptor;
import java.lang.reflect.Type;
public interface FluentCustomisation {
FluentCustomisation repeatCount(int count);
FluentCustomisation sameInstance(Type type, T instance);
FluentCustomisation sameInstance(Class clazz, T instance);
FluentCustomisation lazyInstance(Type type, SpecimenSupplier extends T> supplier);
FluentCustomisation lazyInstance(Class clazz, SpecimenSupplier extends T> supplier);
FluentCustomisation propertyOf(Class clazz, String name, Object value);
FluentCustomisation useSubType(Class baseClass, Class subClass);
FluentCustomisation add(Customisation customisation);
FluentCustomisation intercept(Class clazz, Interceptor interceptor);
RecursionBehaviour circularDependencyBehaviour();
NoResolutionBehaviour noResolutionBehaviour();
AutoPropertyBehaviour autoPropertyBehaviour();
}