Top Description Fields Constructors Methods
org.assertj.core.api

public Class CompletableFutureAssert<RESULT>

extends AbstractCompletableFutureAssert<CompletableFutureAssert<RESULT>, RESULT>
Class Inheritance
Type Parameters
<RESULT>
type of the value contained in the CompletableFuture.
Imports
java.util.concurrent.CompletableFuture, .CompletionStage

Assertions for CompletableFuture.

Field Summary

Inherited from org.assertj.core.api.AbstractCompletableFutureAssert:
futures

Constructor Summary

AccessConstructor and Description
protected
protected

Method Summary

Modifier and TypeMethod and Description
public static <RESULT> CompletableFutureAssert<RESULT>
Inherited from org.assertj.core.api.AbstractCompletableFutureAssert:
failsWithinfailsWithinhasFailedhasFailedWithThrowableThathasNotFailedisCancelledisCompletedisCompletedExceptionallyisCompletedWithValueisCompletedWithValueMatchingisCompletedWithValueMatchingisDoneisNotCancelledisNotCompletedisNotCompletedExceptionallyisNotDonenewObjectAssertsucceedsWithinsucceedsWithinsucceedsWithinsucceedsWithin

Constructor Detail

CompletableFutureAssertback to summary
protected CompletableFutureAssert(CompletableFuture<RESULT> actual)
CompletableFutureAssertback to summary
protected CompletableFutureAssert(CompletionStage<RESULT> actual)

Method Detail

assertThatCompletionStageback to summary
public static <RESULT> CompletableFutureAssert<RESULT> assertThatCompletionStage(CompletionStage<RESULT> actual)