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

com.flextrade.jfixture.specifications.InverseSpecification 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.specifications;

public class InverseSpecification implements Specification {

    private final Specification inner;

    public InverseSpecification(Specification inner) {
        this.inner = inner;
    }

    @Override
    public boolean isSatisfiedBy(Object request) {
        return !this.inner.isSatisfiedBy(request);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy