Class AssertJPromiseAssert.SuccessfulPromiseAssert

java.lang.Object
org.assertj.core.api.AbstractAssert<AssertJPromiseAssert.SuccessfulPromiseAssert,Object>
org.forgerock.util.test.assertj.AssertJPromiseAssert.SuccessfulPromiseAssert
All Implemented Interfaces:
org.assertj.core.api.Assert<AssertJPromiseAssert.SuccessfulPromiseAssert,Object>, org.assertj.core.api.Descriptable<AssertJPromiseAssert.SuccessfulPromiseAssert>, org.assertj.core.api.ExtensionPoints<AssertJPromiseAssert.SuccessfulPromiseAssert,Object>
Enclosing class:
AssertJPromiseAssert

public static final class AssertJPromiseAssert.SuccessfulPromiseAssert extends org.assertj.core.api.AbstractAssert<AssertJPromiseAssert.SuccessfulPromiseAssert,Object>
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
    org.assertj.core.api.AbstractBooleanAssert<?>
    Asserts that the value was a Boolean instance.
    org.assertj.core.api.AbstractDoubleAssert<?>
    Asserts that the value was a Double instance.
    org.assertj.core.api.AbstractFileAssert<?>
    Asserts that the value was a File instance.
    org.assertj.core.api.AbstractInputStreamAssert<?,? extends InputStream>
    Asserts that the value was a InputStream instance.
    org.assertj.core.api.AbstractIntegerAssert<?>
    Asserts that the value was a Integer instance.
    <T> org.assertj.core.api.AbstractIterableAssert<?,? extends Iterable<? extends T>,T,?>
    Asserts that the value was a Iterable instance.
    <T> org.assertj.core.api.AbstractListAssert<?,? extends List<? extends T>,T,?>
    Asserts that the value was a List instance.
    org.assertj.core.api.AbstractLongAssert<?>
    Asserts that the value was a Long instance.
    <K, V> org.assertj.core.api.AbstractMapAssert<?,? extends Map<K,V>,K,V>
    Asserts that the value was a Map instance.
    <T> org.assertj.core.api.AbstractObjectAssert<?,T>
    Asserts that the value was an instance of type T.
    <T> org.assertj.core.api.AbstractObjectArrayAssert<?,T>
    Asserts that the value was an array of type T.
    org.assertj.core.api.AbstractCharSequenceAssert<?,String>
    Asserts that the value was a String instance.

    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
  • Method Details

    • withMap

      public <K, V> org.assertj.core.api.AbstractMapAssert<?,? extends Map<K,V>,K,V> withMap()
      Asserts that the value was a Map instance.
      Type Parameters:
      K - The map key type.
      V - The map value type.
      Returns:
      A AbstractMapAssert instance for making assertions on the value.
    • withIterable

      public <T> org.assertj.core.api.AbstractIterableAssert<?,? extends Iterable<? extends T>,T,?> withIterable()
      Asserts that the value was a Iterable instance.
      Type Parameters:
      T - The iterable contents type.
      Returns:
      A AbstractIterableAssert instance for making assertions on the value.
    • withList

      public <T> org.assertj.core.api.AbstractListAssert<?,? extends List<? extends T>,T,?> withList()
      Asserts that the value was a List instance.
      Type Parameters:
      T - The list contents type.
      Returns:
      A AbstractListAssert instance for making assertions on the value.
    • withString

      public org.assertj.core.api.AbstractCharSequenceAssert<?,String> withString()
      Asserts that the value was a String instance.
      Returns:
      A AbstractCharSequenceAssert instance for making assertions on the value.
    • withInputStream

      public org.assertj.core.api.AbstractInputStreamAssert<?,? extends InputStream> withInputStream()
      Asserts that the value was a InputStream instance.
      Returns:
      A AbstractInputStreamAssert instance for making assertions on the value.
    • withFile

      public org.assertj.core.api.AbstractFileAssert<?> withFile()
      Asserts that the value was a File instance.
      Returns:
      A AbstractFileAssert instance for making assertions on the value.
    • withInteger

      public org.assertj.core.api.AbstractIntegerAssert<?> withInteger()
      Asserts that the value was a Integer instance.
      Returns:
      A AbstractIntegerAssert instance for making assertions on the value.
    • withBoolean

      public org.assertj.core.api.AbstractBooleanAssert<?> withBoolean()
      Asserts that the value was a Boolean instance.
      Returns:
      A AbstractBooleanAssert instance for making assertions on the value.
    • withLong

      public org.assertj.core.api.AbstractLongAssert<?> withLong()
      Asserts that the value was a Long instance.
      Returns:
      A AbstractLongAssert instance for making assertions on the value.
    • withDouble

      public org.assertj.core.api.AbstractDoubleAssert<?> withDouble()
      Asserts that the value was a Double instance.
      Returns:
      A AbstractDoubleAssert instance for making assertions on the value.
    • withObject

      public <T> org.assertj.core.api.AbstractObjectAssert<?,T> withObject()
      Asserts that the value was an instance of type T.
      Type Parameters:
      T - The type of the expected object.
      Returns:
      A AbstractObjectAssert instance for making assertions on the value.
    • withObjectArray

      public <T> org.assertj.core.api.AbstractObjectArrayAssert<?,T> withObjectArray()
      Asserts that the value was an array of type T.
      Type Parameters:
      T - The type of the expected array.
      Returns:
      A AbstractObjectArrayAssert instance for making assertions on the value.