org.mockito.internal.matchers
public class AnyVararg extends Object implements ArgumentMatcher, VarargMatcher, Serializable
Modifier and Type | Field and Description |
---|---|
static ArgumentMatcher |
ANY_VARARG |
Constructor and Description |
---|
AnyVararg() |
public static final ArgumentMatcher ANY_VARARG
public boolean matches(Object arg)
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
arg
- the argument