com.atlassian.jira.mock.matcher
Class MapContainsEntryMatcher<K,V>
java.lang.Object
com.atlassian.jira.mock.matcher.MapContainsEntryMatcher<K,V>
- All Implemented Interfaces:
- org.easymock.IArgumentMatcher
public class MapContainsEntryMatcher<K,V>
- extends Object
- implements org.easymock.IArgumentMatcher
Matcher for maps.
- Since:
- v4.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapContainsEntryMatcher
public MapContainsEntryMatcher(K expectedKey,
V expectedValue)
containsEntry
public static <K,V> Map<K,V> containsEntry(K k,
V v)
matches
public boolean matches(Object argument)
- Specified by:
matches
in interface org.easymock.IArgumentMatcher
appendTo
public void appendTo(StringBuffer buffer)
- Specified by:
appendTo
in interface org.easymock.IArgumentMatcher
Copyright © 2002-2012 Atlassian. All Rights Reserved.