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