Package org.mockito.internal.matchers
Class AnyVararg
- java.lang.Object
-
- org.hamcrest.BaseMatcher<T>
-
- org.mockito.ArgumentMatcher
-
- org.mockito.internal.matchers.AnyVararg
-
- All Implemented Interfaces:
java.io.Serializable
,org.hamcrest.Matcher
,org.hamcrest.SelfDescribing
,VarargMatcher
public class AnyVararg extends ArgumentMatcher implements VarargMatcher, java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static org.hamcrest.Matcher
ANY_VARARG
-
Constructor Summary
Constructors Constructor Description AnyVararg()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(java.lang.Object arg)
Returns whether this matcher accepts the given argument.-
Methods inherited from class org.mockito.ArgumentMatcher
describeTo
-
-
-
-
Method Detail
-
matches
public boolean matches(java.lang.Object arg)
Description copied from class:ArgumentMatcher
Returns whether this matcher accepts the given argument.The method should never assert if the argument doesn't match. It should only return false.
- Specified by:
matches
in interfaceorg.hamcrest.Matcher
- Specified by:
matches
in classArgumentMatcher
- Parameters:
arg
- the argument- Returns:
- whether this matcher accepts the given argument.
-
-