Package org.mockito.internal.matchers
Class Null
java.lang.Object
org.mockito.internal.matchers.Null
- All Implemented Interfaces:
Serializable,ArgumentMatcher<Object>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NULL
-
-
Constructor Details
-
Null
private Null()
-
-
Method Details
-
matches
Description copied from interface:ArgumentMatcherInforms if this matcher accepts the given argument.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- Specified by:
matchesin interfaceArgumentMatcher<Object>- Parameters:
actual- the argument- Returns:
- true if this matcher accepts the given argument.
-
toString
-