org.mockito.internal.matchers
public class NotNull extends Object implements ArgumentMatcher<Object>, Serializable
public static final NotNull NOT_NULL
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<Object>
actual
- the argument