|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArgumentMatcher
A matcher that can check whether a given argument matches certain criteria.
Nested Class Summary | |
---|---|
static class |
ArgumentMatcher.MatchResult
|
Method Summary | |
---|---|
ArgumentMatcher.MatchResult |
matches(Object argument,
Object argumentAtInvocationTime)
Returns true if the given object matches this object's expected argument, false otherwise. |
Method Detail |
---|
ArgumentMatcher.MatchResult matches(Object argument, Object argumentAtInvocationTime)
argument
- The argument that was used by reference, not nullargumentAtInvocationTime
- Copy of the argument, taken at the time that the invocation was performed, not null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |