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

com.flextrade.jfixture.customisation.OmitSpecimenRecursionCustomisation 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.customisation;

import com.flextrade.jfixture.JFixture;
import com.flextrade.jfixture.behaviours.recursion.OmitSpecimenRecursionBehaviour;
import com.flextrade.jfixture.behaviours.recursion.ThrowingRecursionBehaviour;

public class OmitSpecimenRecursionCustomisation implements Customisation {
    @Override
    public void customise(JFixture fixture) {

        fixture.behaviours().remove(ThrowingRecursionBehaviour.class);

        OmitSpecimenRecursionBehaviour behaviour = new OmitSpecimenRecursionBehaviour();
        fixture.behaviours().add(behaviour);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy