com.flextrade.jfixture.SpecimenBuilderContext 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
The newest version!
package com.flextrade.jfixture;
class SpecimenBuilderContext implements SpecimenContext {
private final SpecimenBuilder builder;
public SpecimenBuilderContext(SpecimenBuilder builder) {
this.builder = builder;
}
@Override
public Object resolve(Object request) {
return this.builder.create(request, this);
}
}