Class 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>
    • 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)  
      • Methods inherited from class org.hamcrest.TypeSafeMatcher

        describeMismatch, matches
      • Methods inherited from class org.hamcrest.BaseMatcher

        _dont_implement_Matcher___instead_extend_BaseMatcher_, toString
      • Methods inherited from class java.lang.Object

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

      • ImmutableOpenMapHasKeyMatcher

        public ImmutableOpenMapHasKeyMatcher​(java.lang.String key)
    • Method Detail

      • matchesSafely

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

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

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