Package org.elasticsearch.test.hamcrest
Class CollectionMatchers.ImmutableOpenMapHasKeyMatcher
- java.lang.Object
-
- org.hamcrest.BaseMatcher<T>
-
- org.hamcrest.TypeSafeMatcher<ImmutableOpenMap>
-
- org.elasticsearch.test.hamcrest.CollectionMatchers.ImmutableOpenMapHasKeyMatcher
-
- All Implemented Interfaces:
org.hamcrest.Matcher<ImmutableOpenMap>
,org.hamcrest.SelfDescribing
- Enclosing class:
- CollectionMatchers
public static class CollectionMatchers.ImmutableOpenMapHasKeyMatcher extends org.hamcrest.TypeSafeMatcher<ImmutableOpenMap>
-
-
Constructor Summary
Constructors Constructor Description ImmutableOpenMapHasKeyMatcher(java.lang.String key)
-
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)
-
-
-
Method Detail
-
matchesSafely
protected boolean matchesSafely(ImmutableOpenMap item)
- 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)
-
-