Package org.assertj.core.api
Class OptionalAssert<VALUE>
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<SELF,Optional<VALUE>>
-
- org.assertj.core.api.AbstractOptionalAssert<OptionalAssert<VALUE>,VALUE>
-
- org.assertj.core.api.OptionalAssert<VALUE>
-
- Type Parameters:
VALUE
- type of the value contained in theOptional
.
- All Implemented Interfaces:
Assert<OptionalAssert<VALUE>,Optional<VALUE>>
,Descriptable<OptionalAssert<VALUE>>
,ExtensionPoints<OptionalAssert<VALUE>,Optional<VALUE>>
public class OptionalAssert<VALUE> extends AbstractOptionalAssert<OptionalAssert<VALUE>,VALUE>
Assertions forOptional
.- Author:
- Jean-Christophe Gay
-
-
Field Summary
-
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, assertionErrorCreator, conditions, info, myself, objects, throwUnsupportedExceptionOnEquals
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
OptionalAssert(Optional<VALUE> actual)
-
Method Summary
-
Methods inherited from class org.assertj.core.api.AbstractOptionalAssert
contains, containsInstanceOf, containsSame, flatMap, get, get, hasValue, hasValueSatisfying, hasValueSatisfying, isEmpty, isNotEmpty, isNotPresent, isPresent, map, usingDefaultValueComparator, usingFieldByFieldValueComparator, usingRecursiveComparison, usingRecursiveComparison, usingValueComparator
-
Methods inherited from class org.assertj.core.api.AbstractAssert
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, withAssertionState, 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, describedAs
-
-