public class MapMatcher<K,V> extends org.hamcrest.TypeSafeMatcher<Map<? extends K,? extends V>>
TypeSafeMatcher for Maps.
Copyright (c) 2014. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
| Modifier and Type | Method and Description |
|---|---|
void |
describeMismatchSafely(Map<? extends K,? extends V> map,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
boolean |
matchesSafely(Map<? extends K,? extends V> otherMap) |
static <K,V> org.hamcrest.Matcher<Map<? extends K,? extends V>> |
sameAs(Map<K,V> map) |
static <K,V> org.hamcrest.Matcher<Map<? extends K,? extends V>> |
sameAs(Map<K,V> map,
Equivalence<V> valueEquivalence) |
public void describeMismatchSafely(Map<? extends K,? extends V> map, org.hamcrest.Description mismatchDescription)
public void describeTo(org.hamcrest.Description description)
public static <K,V> org.hamcrest.Matcher<Map<? extends K,? extends V>> sameAs(Map<K,V> map, Equivalence<V> valueEquivalence)
Copyright © 2017. All rights reserved.