| Constructor and Description |
|---|
IsEmptyOptional() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
describeMismatchSafely(Optional item,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
static org.hamcrest.Matcher<Optional> |
emptyOptional()
Creates a matcher that matches when the examined Optional contains no object.
|
protected boolean |
matchesSafely(Optional actual) |
public static org.hamcrest.Matcher<Optional> emptyOptional()
protected boolean matchesSafely(Optional actual)
matchesSafely in class org.hamcrest.TypeSafeMatcher<Optional>protected void describeMismatchSafely(Optional item, org.hamcrest.Description mismatchDescription)
describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<Optional>public void describeTo(org.hamcrest.Description description)
Copyright © 2015–2016. All rights reserved.