public class GuavaOptionalSubject extends Subject<GuavaOptionalSubject ,Optional <?>>
Optional subjects.
failureStrategy| Modifier and Type | Method and Description |
|---|---|
void |
hasValue(Object
Fails if the
Optional
<T> does not have the given value or the subject is null.
|
void |
isAbsent()
Fails if the
Optional
<T> is present or the subject is null..
|
void |
isPresent()
Fails if the
Optional
<T> is absent or the subject is null.
|
check, equals, fail, fail, fail, failWithBadResults, failWithCustomSubject, failWithoutSubject, failWithRawMessage, getDisplaySubject, getSubject, hashCode, internalCustomName, isAnyOf, isEqualTo, isIn, isInstanceOf, isNoneOf, isNotEqualTo, isNotIn, isNotInstanceOf, isNotNull, isNotSameAs, isNull, isSameAs, named