|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ArgumentsMatchers are only supported
for the legacy MockControl. For mock objects generated by the methods
on EasyMock, there are per-argument matchers available. For more
information, see the EasyMock documentation.
public interface ArgumentsMatcher
A comparison function that is used to match arguments.
MockControl.setDefaultMatcher(org.easymock.ArgumentsMatcher),
MockControl.setMatcher(org.easymock.ArgumentsMatcher),
MockControl.EQUALS_MATCHER,
MockControl.ARRAY_MATCHER,
MockControl.ALWAYS_MATCHER| Method Summary | |
|---|---|
boolean |
matches(java.lang.Object[] expected,
java.lang.Object[] actual)
Deprecated. Matches two arrays of arguments. |
java.lang.String |
toString(java.lang.Object[] arguments)
Deprecated. Returns a string representation of the arguments. |
| Method Detail |
|---|
boolean matches(java.lang.Object[] expected,
java.lang.Object[] actual)
expected - the expected arguments.actual - the actual arguments.
java.lang.String toString(java.lang.Object[] arguments)
arguments - the arguments to be used in the string representation.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||