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

com.flextrade.jfixture.customisation.CompositeCustomisation 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 java.util.Arrays;

public class CompositeCustomisation implements Customisation {

    private final Iterable customisations;

    public CompositeCustomisation(Customisation... customisations) {
        this(Arrays.asList(customisations));
    }

    public CompositeCustomisation(Iterable customisations) {
        this.customisations = customisations;
    }

    @Override
    public void customise(JFixture fixture) {
        for (Customisation c : customisations) {
            fixture.customise(c);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy