org.easymock
public interface ArgumentsMatcher
Deprecated: Since EasyMock 2.0, ArgumentsMatcher
s 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.
See Also: MockControl MockControl EQUALS_MATCHER ARRAY_MATCHER ALWAYS_MATCHER
Method Summary | |
---|---|
boolean | matches(Object[] expected, Object[] actual)
Matches two arrays of arguments.
|
String | toString(Object[] arguments)
Returns a string representation of the arguments.
|
Parameters: expected the expected arguments. actual the actual arguments.
Returns: true if the arguments match, false otherwise.
Parameters: arguments the arguments to be used in the string representation.
Returns: a string representation of the arguments.