com.github.dakusui.crest.core.Assertion Maven / Gradle / Ivy
package com.github.dakusui.crest.core;
import com.github.dakusui.crest.functions.TransformingPredicate;
import org.junit.ComparisonFailure;
import java.util.*;
import java.util.function.Function;
import java.util.function.Predicate;
import java.util.function.Supplier;
import static java.util.Objects.requireNonNull;
/**
* Represents one invocation of 'assertThat' method.
*
* @param Type of object to be verified.
*/
public interface Assertion {
void perform(T value);
boolean test(Predicate © 2015 - 2025 Weber Informatics LLC | Privacy Policy