org.mockito.internal.matchers
public class Not extends Object implements ArgumentMatcher, Serializable
Constructor and Description |
---|
Not(ArgumentMatcher first) |
public Not(ArgumentMatcher first)
public boolean matches(Object actual)
ArgumentMatcher
The method should never assert if the argument doesn't match. It should only return false.
See the example in the top level javadoc for ArgumentMatcher
matches
in interface ArgumentMatcher
actual
- the argument