Package org.forgerock.util.test.assertj
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 TypeMethodDescriptionorg.assertj.core.api.AbstractBooleanAssert<?>Asserts that the value was aBooleaninstance.org.assertj.core.api.AbstractDoubleAssert<?>Asserts that the value was aDoubleinstance.org.assertj.core.api.AbstractFileAssert<?>withFile()Asserts that the value was aFileinstance.org.assertj.core.api.AbstractInputStreamAssert<?,? extends InputStream> Asserts that the value was aInputStreaminstance.org.assertj.core.api.AbstractIntegerAssert<?>Asserts that the value was aIntegerinstance.<T> org.assertj.core.api.AbstractIterableAssert<?,? extends Iterable<? extends T>, T, ?> Asserts that the value was aIterableinstance.<T> org.assertj.core.api.AbstractListAssert<?,? extends List<? extends T>, T, ?> withList()Asserts that the value was aListinstance.org.assertj.core.api.AbstractLongAssert<?>withLong()Asserts that the value was aLonginstance.<K,V> org.assertj.core.api.AbstractMapAssert<?, ? extends Map<K, V>, K, V> withMap()Asserts that the value was aMapinstance.<T> org.assertj.core.api.AbstractObjectAssert<?,T> Asserts that the value was an instance of typeT.<T> org.assertj.core.api.AbstractObjectArrayAssert<?,T> Asserts that the value was an array of typeT.org.assertj.core.api.AbstractCharSequenceAssert<?,String> Asserts that the value was aStringinstance.Methods 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
-
Method Details
-
withMap
Asserts that the value was aMapinstance.- Type Parameters:
K- The map key type.V- The map value type.- Returns:
- A
AbstractMapAssertinstance for making assertions on the value.
-
withIterable
public <T> org.assertj.core.api.AbstractIterableAssert<?,? extends Iterable<? extends T>, withIterable()T, ?> Asserts that the value was aIterableinstance.- Type Parameters:
T- The iterable contents type.- Returns:
- A
AbstractIterableAssertinstance for making assertions on the value.
-
withList
Asserts that the value was aListinstance.- Type Parameters:
T- The list contents type.- Returns:
- A
AbstractListAssertinstance for making assertions on the value.
-
withString
Asserts that the value was aStringinstance.- Returns:
- A
AbstractCharSequenceAssertinstance for making assertions on the value.
-
withInputStream
Asserts that the value was aInputStreaminstance.- Returns:
- A
AbstractInputStreamAssertinstance for making assertions on the value.
-
withFile
Asserts that the value was aFileinstance.- Returns:
- A
AbstractFileAssertinstance for making assertions on the value.
-
withInteger
Asserts that the value was aIntegerinstance.- Returns:
- A
AbstractIntegerAssertinstance for making assertions on the value.
-
withBoolean
Asserts that the value was aBooleaninstance.- Returns:
- A
AbstractBooleanAssertinstance for making assertions on the value.
-
withLong
Asserts that the value was aLonginstance.- Returns:
- A
AbstractLongAssertinstance for making assertions on the value.
-
withDouble
Asserts that the value was aDoubleinstance.- Returns:
- A
AbstractDoubleAssertinstance for making assertions on the value.
-
withObject
Asserts that the value was an instance of typeT.- Type Parameters:
T- The type of the expected object.- Returns:
- A
AbstractObjectAssertinstance for making assertions on the value.
-
withObjectArray
Asserts that the value was an array of typeT.- Type Parameters:
T- The type of the expected array.- Returns:
- A
AbstractObjectArrayAssertinstance for making assertions on the value.
-