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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    describeMismatchSafely(org.elasticsearch.common.collect.ImmutableOpenMap<String,?> map, org.hamcrest.Description mismatchDescription)
     
    void
    describeTo(org.hamcrest.Description description)
     
    protected boolean
    matchesSafely(org.elasticsearch.common.collect.ImmutableOpenMap<String,?> item)
     

    Methods inherited from class org.hamcrest.TypeSafeMatcher

    describeMismatch, matches

    Methods inherited from class org.hamcrest.BaseMatcher

    _dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ImmutableOpenMapHasAllKeysMatcher

      public ImmutableOpenMapHasAllKeysMatcher(String... keys)
  • Method Details

    • matchesSafely

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

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

      public void describeTo(org.hamcrest.Description description)