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