Package org.assertj.core.api
Class CompletableFutureAssert<RESULT>
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<SELF,java.util.concurrent.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>,java.util.concurrent.CompletableFuture<RESULT>>
,Descriptable<CompletableFutureAssert<RESULT>>
,ExtensionPoints<CompletableFutureAssert<RESULT>,java.util.concurrent.CompletableFuture<RESULT>>
public class CompletableFutureAssert<RESULT> extends AbstractCompletableFutureAssert<CompletableFutureAssert<RESULT>,RESULT>
Assertions forCompletableFuture
.
-
-
Field Summary
-
Fields inherited from class org.assertj.core.api.AbstractCompletableFutureAssert
futures
-
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, assertionErrorCreator, conditions, customRepresentation, info, myself, objects, printAssertionsDescription, throwUnsupportedExceptionOnEquals
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CompletableFutureAssert(java.util.concurrent.CompletableFuture<RESULT> actual)
protected
CompletableFutureAssert(java.util.concurrent.CompletionStage<RESULT> actual)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <RESULT> CompletableFutureAssert<RESULT>
assertThatCompletionStage(java.util.concurrent.CompletionStage<RESULT> actual)
-
Methods inherited from class org.assertj.core.api.AbstractCompletableFutureAssert
failsWithin, failsWithin, hasFailed, hasFailedWithThrowableThat, hasNotFailed, isCancelled, isCompleted, isCompletedExceptionally, isCompletedWithValue, isCompletedWithValueMatching, isCompletedWithValueMatching, isDone, isNotCancelled, isNotCompleted, isNotCompletedExceptionally, isNotDone, newObjectAssert, succeedsWithin, succeedsWithin, succeedsWithin, succeedsWithin
-
Methods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, 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, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withAssertionState, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs, describedAs
-
-
-
-
Method Detail
-
assertThatCompletionStage
public static <RESULT> CompletableFutureAssert<RESULT> assertThatCompletionStage(java.util.concurrent.CompletionStage<RESULT> actual)
-
-