Class IsMapContainingValue<V>

  • All Implemented Interfaces:
    org.hamcrest.Matcher<Map<?,​V>>, org.hamcrest.SelfDescribing

    public class IsMapContainingValue<V>
    extends MapTypeSafeMatcher<Map<?,​V>>
    • Constructor Detail

      • IsMapContainingValue

        public IsMapContainingValue​(org.hamcrest.Matcher<? super V> valueMatcher)
    • Method Detail

      • describeTo

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

        public static <V> org.hamcrest.Matcher<? super Map<?,​V>> hasValue​(V value)
      • hasValue

        public static <V> org.hamcrest.Matcher<? super Map<?,​V>> hasValue​(org.hamcrest.Matcher<? super V> valueMatcher)