public class NullArgumentMatcher extends Object implements ArgumentMatcher
ArgumentMatcher.MatchResult| Constructor and Description |
|---|
NullArgumentMatcher() |
| Modifier and Type | Method and Description |
|---|---|
ArgumentMatcher.MatchResult |
matches(Object argument,
Object argumentAtInvocationTime)
Returns true if the given object is not null, false otherwise.
|
public ArgumentMatcher.MatchResult matches(Object argument, Object argumentAtInvocationTime)
matches in interface ArgumentMatcherargument - The argument that were used by reference, not nullargumentAtInvocationTime - Copy of the argument, taken at the time that the invocation was performed, not nullCopyright © 2016. All Rights Reserved.