Package org.elasticsearch.test.hamcrest
Class CollectionMatchers.ImmutableOpenMapHasAllKeysMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<ImmutableOpenMap<String,?>>
org.elasticsearch.test.hamcrest.CollectionMatchers.ImmutableOpenMapHasAllKeysMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<ImmutableOpenMap<String,
,?>> org.hamcrest.SelfDescribing
- Enclosing class:
- CollectionMatchers
public static class CollectionMatchers.ImmutableOpenMapHasAllKeysMatcher
extends org.hamcrest.TypeSafeMatcher<ImmutableOpenMap<String,?>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
describeMismatchSafely
(ImmutableOpenMap<String, ?> map, org.hamcrest.Description mismatchDescription) void
describeTo
(org.hamcrest.Description description) protected boolean
matchesSafely
(ImmutableOpenMap<String, ?> item) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, matches
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Constructor Details
-
ImmutableOpenMapHasAllKeysMatcher
-
-
Method Details
-
matchesSafely
- Specified by:
matchesSafely
in classorg.hamcrest.TypeSafeMatcher<ImmutableOpenMap<String,
?>>
-
describeMismatchSafely
public void describeMismatchSafely(ImmutableOpenMap<String, ?> map, org.hamcrest.Description mismatchDescription) - Overrides:
describeMismatchSafely
in classorg.hamcrest.TypeSafeMatcher<ImmutableOpenMap<String,
?>>
-
describeTo
public void describeTo(org.hamcrest.Description description)
-