Package io.atlassian.fugue.hamcrest
Class OptionMatchers.NoneMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<Option<?>>,org.hamcrest.SelfDescribing
- Enclosing class:
OptionMatchers
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddescribeMismatchSafely(Option<?> actual, org.hamcrest.Description mismatchDescription) voiddescribeTo(org.hamcrest.Description description) protected booleanmatchesSafely(Option<?> actual) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NoneMatcher
private NoneMatcher()
-
-
Method Details
-
matchesSafely
- Specified by:
matchesSafelyin classorg.hamcrest.TypeSafeMatcher<Option<?>>
-
describeTo
public void describeTo(org.hamcrest.Description description) -
describeMismatchSafely
protected void describeMismatchSafely(Option<?> actual, org.hamcrest.Description mismatchDescription) - Overrides:
describeMismatchSafelyin classorg.hamcrest.TypeSafeMatcher<Option<?>>
-