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