com.atlassian.jira.mock.matcher
Class MapContainsEntryMatcher<K,V>

java.lang.Object
  extended by 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

Constructor Summary
MapContainsEntryMatcher(K expectedKey, V expectedValue)
           
 
Method Summary
 void appendTo(StringBuffer buffer)
           
static
<K,V> Map<K,V>
containsEntry(K k, V v)
           
 boolean matches(Object argument)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapContainsEntryMatcher

public MapContainsEntryMatcher(K expectedKey,
                               V expectedValue)
Method Detail

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.