Package org.mockito.internal.matchers
Class Matches
java.lang.Object
org.mockito.internal.matchers.Matches
- All Implemented Interfaces:
Serializable
,ArgumentMatcher<Object>
- See Also:
-
Constructor Details
-
Matches
-
Matches
-
-
Method Details
-
matches
Description copied from interface:ArgumentMatcher
Informs 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:
matches
in interfaceArgumentMatcher<Object>
- Parameters:
actual
- the argument- Returns:
- true if this matcher accepts the given argument.
-
toString
-