Java 类org.assertj.core.api.PredicateAssert 实例源码

项目:test-as-you-think    文件:TestAsYouThink.java   
public static <$Value> PredicateAssert<$Value> resultOf(CheckedPredicateSupplier<$Value> whenStep) {
    return assertThat(result(whenStep));
}
项目:assertj-core    文件:PredicateAssert_rejects_Test.java   
@Override
protected PredicateAssert<Boolean> invoke_api_method() {
  return assertions.rejects(false, false);
}
项目:assertj-core    文件:PredicateAssert_rejectsAllTest.java   
@Override
protected PredicateAssert<Boolean> invoke_api_method() {
  return assertions.rejectsAll(newArrayList(false, false));
}
项目:assertj-core    文件:PredicateAssert_acceptsAll_Test.java   
@Override
protected PredicateAssert<Boolean> invoke_api_method() {
  return assertions.acceptsAll(newArrayList(true, true));
}
项目:assertj-core    文件:PredicateAssert_accepts_Test.java   
@Override
protected PredicateAssert<Boolean> invoke_api_method() {
  return assertions.accepts(true, true);
}
项目:extended-mockito    文件:AssertJ.java   
/**
 * Delegate call to public static <T> org.assertj.core.api.PredicateAssert<T> org.assertj.core.api.Assertions.assertThat(java.util.function.Predicate<T>)
 * {@link org.assertj.core.api.Assertions#assertThat(java.util.function.Predicate)}
 */
default <T> PredicateAssert<T> assertThat(Predicate<T> actual) {
    return Assertions.assertThat(actual);
}
项目:tdd-mixins-core    文件:AssertJ.java   
/**
 * Delegate call to public static <T> org.assertj.core.api.PredicateAssert<T> org.assertj.core.api.Assertions.assertThat(java.util.function.Predicate<T>)
 * {@link org.assertj.core.api.Assertions#assertThat(java.util.function.Predicate)}
 */
default <T> PredicateAssert<T> assertThat(Predicate<T> actual) {
    return Assertions.assertThat(actual);
}