Class CollectionMatchers.ImmutableOpenMapHasKeyMatcher

java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<ImmutableOpenMap<String,?>>
org.elasticsearch.test.hamcrest.CollectionMatchers.ImmutableOpenMapHasKeyMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<ImmutableOpenMap<String,?>>, org.hamcrest.SelfDescribing
Enclosing class:
CollectionMatchers

public static class CollectionMatchers.ImmutableOpenMapHasKeyMatcher extends org.hamcrest.TypeSafeMatcher<ImmutableOpenMap<String,?>>
  • Constructor Details

    • ImmutableOpenMapHasKeyMatcher

      public ImmutableOpenMapHasKeyMatcher(String key)
  • Method Details

    • matchesSafely

      protected boolean matchesSafely(ImmutableOpenMap<String,?> item)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<ImmutableOpenMap<String,?>>
    • describeMismatchSafely

      public void describeMismatchSafely(ImmutableOpenMap<String,?> map, org.hamcrest.Description mismatchDescription)
      Overrides:
      describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<ImmutableOpenMap<String,?>>
    • describeTo

      public void describeTo(org.hamcrest.Description description)