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 aBoolean
instance.org.assertj.core.api.AbstractDoubleAssert<?>
Asserts that the value was aDouble
instance.org.assertj.core.api.AbstractFileAssert<?>
withFile()
Asserts that the value was aFile
instance.org.assertj.core.api.AbstractInputStreamAssert<?,
? extends InputStream> Asserts that the value was aInputStream
instance.org.assertj.core.api.AbstractIntegerAssert<?>
Asserts that the value was aInteger
instance.<T> org.assertj.core.api.AbstractIterableAssert<?,
? extends Iterable<? extends T>, T, ?> Asserts that the value was aIterable
instance.<T> org.assertj.core.api.AbstractListAssert<?,
? extends List<? extends T>, T, ?> withList()
Asserts that the value was aList
instance.org.assertj.core.api.AbstractLongAssert<?>
withLong()
Asserts that the value was aLong
instance.<K,
V> org.assertj.core.api.AbstractMapAssert<?, ? extends Map<K, V>, K, V> withMap()
Asserts that the value was aMap
instance.<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 aString
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
Asserts that the value was aMap
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>, withIterable()T, ?> Asserts that the value was aIterable
instance.- Type Parameters:
T
- The iterable contents type.- Returns:
- A
AbstractIterableAssert
instance for making assertions on the value.
-
withList
Asserts that the value was aList
instance.- Type Parameters:
T
- The list contents type.- Returns:
- A
AbstractListAssert
instance for making assertions on the value.
-
withString
Asserts that the value was aString
instance.- Returns:
- A
AbstractCharSequenceAssert
instance for making assertions on the value.
-
withInputStream
Asserts that the value was aInputStream
instance.- Returns:
- A
AbstractInputStreamAssert
instance for making assertions on the value.
-
withFile
Asserts that the value was aFile
instance.- Returns:
- A
AbstractFileAssert
instance for making assertions on the value.
-
withInteger
Asserts that the value was aInteger
instance.- Returns:
- A
AbstractIntegerAssert
instance for making assertions on the value.
-
withBoolean
Asserts that the value was aBoolean
instance.- Returns:
- A
AbstractBooleanAssert
instance for making assertions on the value.
-
withLong
Asserts that the value was aLong
instance.- Returns:
- A
AbstractLongAssert
instance for making assertions on the value.
-
withDouble
Asserts that the value was aDouble
instance.- Returns:
- A
AbstractDoubleAssert
instance 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
AbstractObjectAssert
instance 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
AbstractObjectArrayAssert
instance for making assertions on the value.
-