public class AnyVararg extends ArgumentMatcher implements VarargMatcher, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static org.hamcrest.Matcher |
ANY_VARARG |
| Constructor and Description |
|---|
AnyVararg() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(java.lang.Object arg)
Returns whether this matcher accepts the given argument.
|
describeTopublic boolean matches(java.lang.Object arg)
ArgumentMatcherThe method should never assert if the argument doesn't match. It should only return false.
matches in interface org.hamcrest.Matchermatches in class ArgumentMatcherarg - the argument