K
- key typeV
- value typepublic class MapKeyValueMatcher<K,V> extends Object implements org.easymock.IArgumentMatcher
Constructor and Description |
---|
MapKeyValueMatcher(List<Pair<K,V>> thingsToMatch) |
MapKeyValueMatcher(Pair<K,V>... thingsToMatch) |
Modifier and Type | Method and Description |
---|---|
void |
appendTo(StringBuffer buffer) |
static <L,M> MapKeyValueMatcher<L,M> |
forPair(L key,
M value) |
static <L,M> MapKeyValueMatcher<L,M> |
forPairs(L key1,
M value1,
L key2,
M value2) |
boolean |
matches(Object argument) |
public static <L,M> MapKeyValueMatcher<L,M> forPair(L key, M value)
public static <L,M> MapKeyValueMatcher<L,M> forPairs(L key1, M value1, L key2, M value2)
public boolean matches(Object argument)
matches
in interface org.easymock.IArgumentMatcher
public void appendTo(StringBuffer buffer)
appendTo
in interface org.easymock.IArgumentMatcher
Copyright © 2002-2015 Atlassian. All Rights Reserved.