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
    void describeMismatchSafely​(org.elasticsearch.common.collect.ImmutableOpenMap map, org.hamcrest.Description mismatchDescription)  
    void describeTo​(org.hamcrest.Description description)  
    protected boolean matchesSafely​(org.elasticsearch.common.collect.ImmutableOpenMap 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

  • Method Details

    • matchesSafely

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

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

      public void describeTo​(org.hamcrest.Description description)