package poussecafe.check;

import java.util.Objects;
import java.util.function.Predicate;

public class CheckBuilder<T> {

    public CheckBuilder(T value) {
        this.specificiation = new AssertionSpecification<>(value);
    }

    private CheckSpecification<T> specificiation;

    public void notNull() {
        verifies(Objects::nonNull).run();
    }

    public CheckBuilder<T> verifies(Predicate<T> condition) {
        specificiation.verifies(condition);
        return this;
    }

    public void run() {
        new Check<>(specificiation).run();
    }
}

@@ -559,11 +559,167 @@
 );%0A    %7D
+%0A%0A    public void is(Object expectedValue) %7B%0A        verifies(value -%3E (expectedValue == null && value == null) %7C%7C value.equals(expectedValue)).run();%0A    %7D
 %0A%7D%0A

Add is to CheckBuilder.