T - Type of the Optional valuepublic class IsEmptyMatcher<T> extends TypeSafeMatcher<Optional<T>>
Optional.| Modifier and Type | Method and Description |
|---|---|
protected void |
describeMismatchSafely(Optional<T> optional,
Description mismatchDescription) |
void |
describeTo(Description description) |
static <T> Matcher<Optional<T>> |
empty()
Create a matcher for empty
Optional. |
protected boolean |
matchesSafely(Optional<T> optional) |
describeMismatch, matches_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toStringprotected boolean matchesSafely(Optional<T> optional)
matchesSafely in class TypeSafeMatcher<Optional<T>>public void describeTo(Description description)
protected void describeMismatchSafely(Optional<T> optional, Description mismatchDescription)
describeMismatchSafely in class TypeSafeMatcher<Optional<T>>Copyright © 2022. All rights reserved.