public class AnyVararg extends ArgumentMatcher implements VarargMatcher, Serializable
| Modifier and Type | Field and Description |
|---|---|
static Matcher |
ANY_VARARG |
| Constructor and Description |
|---|
AnyVararg() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(Object arg)
Returns whether this matcher accepts the given argument.
|
describeTo_dont_implement_Matcher___instead_extend_BaseMatcher_, toStringpublic static final Matcher ANY_VARARG
public boolean matches(Object arg)
ArgumentMatcherThe method should never assert if the argument doesn't match. It should only return false.
matches in interface Matchermatches in class ArgumentMatcherarg - the argumentBaseMatcherCopyright © 2018. All rights reserved.