Class IsMapContainingValue<V>
- java.lang.Object
-
- org.hamcrest.BaseMatcher<M>
-
- dev.aherscu.qa.testing.utils.assertions.impl.matcher.MapTypeSafeMatcher<Map<?,V>>
-
- dev.aherscu.qa.testing.utils.assertions.impl.matcher.IsMapContainingValue<V>
-
- All Implemented Interfaces:
org.hamcrest.Matcher<Map<?,V>>
,org.hamcrest.SelfDescribing
public class IsMapContainingValue<V> extends MapTypeSafeMatcher<Map<?,V>>
-
-
Constructor Summary
Constructors Constructor Description IsMapContainingValue(org.hamcrest.Matcher<? super V> valueMatcher)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
describeTo(org.hamcrest.Description description)
static <V> org.hamcrest.Matcher<? super Map<?,V>>
hasValue(org.hamcrest.Matcher<? super V> valueMatcher)
static <V> org.hamcrest.Matcher<? super Map<?,V>>
hasValue(V value)
boolean
matchesSafely(Map<?,V> item)
-
Methods inherited from class dev.aherscu.qa.testing.utils.assertions.impl.matcher.MapTypeSafeMatcher
matches
-
-
-
-
Constructor Detail
-
IsMapContainingValue
public IsMapContainingValue(org.hamcrest.Matcher<? super V> valueMatcher)
-
-
Method Detail
-
matchesSafely
public boolean matchesSafely(Map<?,V> item)
- Specified by:
matchesSafely
in classMapTypeSafeMatcher<Map<?,V>>
-
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)
-
-