| Modifier and Type | Method and Description |
|---|---|
protected void |
describeMismatchSafely(Optional<T> item,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(Optional<T> optionalValue) |
static <T> org.hamcrest.TypeSafeMatcher<Optional<T>> |
presentAnd(org.hamcrest.Matcher<? super T> innerMatcher)
Creates a matcher from an inner matcher for Optionals which are present.
|
public static <T> org.hamcrest.TypeSafeMatcher<Optional<T>> presentAnd(org.hamcrest.Matcher<? super T> innerMatcher)
public void describeTo(org.hamcrest.Description description)
Copyright © 2015–2016. All rights reserved.