All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.flextrade.jfixture.behaviours.noresolution.ThrowOnNoResolutionBehaviour Maven / Gradle / Ivy

Go to download

JFixture is an open source library based on the popular .NET library, AutoFixture

There is a newer version: 2.7.2
Show newest version
package com.flextrade.jfixture.behaviours.noresolution;

import com.flextrade.jfixture.FixtureBehaviour;
import com.flextrade.jfixture.SpecimenBuilder;

public class ThrowOnNoResolutionBehaviour implements FixtureBehaviour {
    @Override
    public SpecimenBuilder transform(SpecimenBuilder builder) {

        if (builder == null) throw new IllegalArgumentException();

        return new NoResolutionGuard(builder, new ThrowingNoResolutionHandler());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy