|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.virtualmock.matcher.EqualsMatcher
An implementation of ArgMatcher that uses the equals() method to perform matching.
| Constructor Summary | |
EqualsMatcher()
|
|
| Method Summary | |
boolean |
matches(java.lang.Object expectedArgument,
java.lang.Object actualArgument)
Returns true if expectedArgument.equals(actualArgument). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EqualsMatcher()
| Method Detail |
public boolean matches(java.lang.Object expectedArgument,
java.lang.Object actualArgument)
matches in interface ArgMatcherexpectedArgument - The expected argument value that was passed when
the mocked call was recordedactualArgument - The actual argument value that was passed when the
class under test invoked the recorded call.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||