Package org.assertj.core.api
Class CompletableFutureAssert<RESULT>
java.lang.Object
org.assertj.core.api.AbstractAssert<CompletableFutureAssert<RESULT>,CompletableFuture<RESULT>>
org.assertj.core.api.AbstractCompletableFutureAssert<CompletableFutureAssert<RESULT>,RESULT>
org.assertj.core.api.CompletableFutureAssert<RESULT>
- Type Parameters:
RESULT- type of the value contained in theCompletableFuture.
- All Implemented Interfaces:
Assert<CompletableFutureAssert<RESULT>,,CompletableFuture<RESULT>> Descriptable<CompletableFutureAssert<RESULT>>,ExtensionPoints<CompletableFutureAssert<RESULT>,CompletableFuture<RESULT>>
public class CompletableFutureAssert<RESULT>
extends AbstractCompletableFutureAssert<CompletableFutureAssert<RESULT>,RESULT>
Assertions for
CompletableFuture.-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedCompletableFutureAssert(CompletionStage<RESULT> actual) -
Method Summary
Modifier and TypeMethodDescriptionstatic <RESULT> CompletableFutureAssert<RESULT> assertThatCompletionStage(CompletionStage<RESULT> actual) Methods inherited from class org.assertj.core.api.AbstractCompletableFutureAssert
completesExceptionallyWithin, completesExceptionallyWithin, failsWithin, failsWithin, hasFailed, hasFailedWithThrowableThat, hasNotFailed, isCancelled, isCompleted, isCompletedExceptionally, isCompletedWithValue, isCompletedWithValueMatching, isCompletedWithValueMatching, isCompletedWithValueMatchingWithin, isDone, isNotCancelled, isNotCompleted, isNotCompletedExceptionally, isNotDone, newObjectAssert, succeedsWithin, succeedsWithin, succeedsWithin, succeedsWithinMethods inherited from class org.assertj.core.api.AbstractAssert
actual, areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingEquals, usingEquals, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs, describedAs
-
Constructor Details
-
CompletableFutureAssert
-
CompletableFutureAssert
-
-
Method Details
-
assertThatCompletionStage
public static <RESULT> CompletableFutureAssert<RESULT> assertThatCompletionStage(CompletionStage<RESULT> actual)
-