public class MapEntryMatcher<K,V> extends BaseCompositeMatcher<Map.Entry<K,V>>
Modifier and Type | Class and Description |
---|---|
static class |
MapEntryMatcher.Supplier<K,V>
Builds and supplies a
MapEntryMatcher matcher for a specified source entry. |
Constructor and Description |
---|
MapEntryMatcher(Map.Entry<K,V> expected,
Function<K,Matcher<K>> keyMatcherSupplier,
Function<V,Matcher<V>> valueMatcherSupplier)
Creates a new MapEntryMatcher instance.
|
containsElementsMatching, containsEntriesMatching, containsEntriesMatching, containsMembersMatching, describeMismatch, describeTo, expectThat, expectThat, getTypeMismatch, listsElementsMatching, listsMatching, listsMembersMatching, matches, matches, toString, valueOf, visitsListMatching, visitsMembersMatching
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull
Copyright © 2022 The Cornutum Project. All rights reserved.