Class AssertJPromiseAssert

java.lang.Object
org.assertj.core.api.AbstractAssert<A,Promise<T,?>>
All Implemented Interfaces:
org.assertj.core.api.Assert<AssertJPromiseAssert,Promise<Object,?>>, org.assertj.core.api.Descriptable<AssertJPromiseAssert>, org.assertj.core.api.ExtensionPoints<AssertJPromiseAssert,Promise<Object,?>>

Assertion class for a promise. Allows verification of the value that was completed with.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    An assertion class for making assertions on the successful completion value of a Promise.
  • Field Summary

    Fields inherited from class org.assertj.core.api.AbstractAssert

    actual, info, myself, objects, throwUnsupportedExceptionOnEquals
  • Method Summary

    Modifier and Type
    Method
    Description
    assertThat(Promise<?,?> promise)
    Creates an AssertJPromiseAssert instance for making assertions on a Promise.
    assertThatPromise(Promise<?,?> promise)
    Alias for assertThat(Promise).
    Factory method for the succeeded assert class.

    Methods inherited from class org.forgerock.util.test.assertj.AbstractAssertJPromiseAssert

    failedWithException, succeeded

    Methods inherited from class org.assertj.core.api.AbstractAssert

    asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, 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, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, 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