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

项目:test-as-you-think    文件:TestAsYouThink.java   
public static <$Value> CompletableFutureAssert<$Value> resultOf(CheckedCompletableFutureSupplier<$Value> whenStep) {
    return assertThat(result(whenStep));
}
项目:fluent-bdd    文件:WithFluentAssertJ.java   
/**
 * Delegate call to {@link org.assertj.core.api.Assertions#assertThat(CompletableFuture)}
 */
default <T> CompletableFutureAssert<T> then(CompletableFuture<T> future) {
    fluentBdd().verification.recordThen(this);
    return DELEGATE.assertThat(future);
}
项目:fluent-bdd    文件:WithFluentAssertJ.java   
/**
 * Delegate call to {@link org.assertj.core.api.Assertions#assertThat(CompletableFuture)}
 */
default <T> CompletableFutureAssert<T> and(CompletableFuture<T> future) {
    fluentBdd().verification.recordThen(this);
    return DELEGATE.assertThat(future);
}
项目:extended-mockito    文件:AssertJ.java   
/**
 * Delegate call to public static <RESULT> org.assertj.core.api.CompletableFutureAssert<RESULT> org.assertj.core.api.Assertions.assertThat(java.util.concurrent.CompletableFuture<RESULT>)
 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.CompletableFuture)}
 */
default <RESULT> CompletableFutureAssert<RESULT> assertThat(CompletableFuture<RESULT> actual) {
    return Assertions.assertThat(actual);
}
项目:extended-mockito    文件:AssertJ.java   
/**
 * Delegate call to public static <RESULT> org.assertj.core.api.CompletableFutureAssert<RESULT> org.assertj.core.api.Assertions.assertThat(java.util.concurrent.CompletionStage<RESULT>)
 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.CompletionStage)}
 */
default <RESULT> CompletableFutureAssert<RESULT> assertThat(CompletionStage<RESULT> actual) {
    return Assertions.assertThat(actual);
}
项目:tdd-mixins-core    文件:AssertJ.java   
/**
 * Delegate call to public static <RESULT> org.assertj.core.api.CompletableFutureAssert<RESULT> org.assertj.core.api.Assertions.assertThat(java.util.concurrent.CompletableFuture<RESULT>)
 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.CompletableFuture)}
 */
default <RESULT> CompletableFutureAssert<RESULT> assertThat(CompletableFuture<RESULT> actual) {
    return Assertions.assertThat(actual);
}
项目:tdd-mixins-core    文件:AssertJ.java   
/**
 * Delegate call to public static <RESULT> org.assertj.core.api.CompletableFutureAssert<RESULT> org.assertj.core.api.Assertions.assertThat(java.util.concurrent.CompletionStage<RESULT>)
 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.CompletionStage)}
 */
default <RESULT> CompletableFutureAssert<RESULT> assertThat(CompletionStage<RESULT> actual) {
    return Assertions.assertThat(actual);
}
项目:interface-it    文件:AssertJ.java   
/**
 * Delegate call to public static <T> org.assertj.core.api.CompletableFutureAssert<T> org.assertj.core.api.Assertions.assertThat(java.util.concurrent.CompletableFuture<T>)
 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.CompletableFuture)}
 */
default <T> CompletableFutureAssert<T> assertThat(CompletableFuture<T> actual) {
    return Assertions.assertThat(actual);
}