public class IsMapContainingValue<V> extends MapTypeSafeMatcher<Map<?,V>>
| Constructor and Description |
|---|
IsMapContainingValue(org.hamcrest.Matcher<? super V> valueMatcher) |
| Modifier and Type | Method and 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) |
matchespublic IsMapContainingValue(org.hamcrest.Matcher<? super V> valueMatcher)
public boolean matchesSafely(Map<?,V> item)
matchesSafely in class MapTypeSafeMatcher<Map<?,V>>public void describeTo(org.hamcrest.Description description)
public static <V> org.hamcrest.Matcher<? super Map<?,V>> hasValue(V value)
public static <V> org.hamcrest.Matcher<? super Map<?,V>> hasValue(org.hamcrest.Matcher<? super V> valueMatcher)
Copyright © 2017. All rights reserved.