public class Any extends ArgumentMatcher implements java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
boolean |
matches(java.lang.Object actual)
Returns whether this matcher accepts the given argument.
|
public static final Any ANY
public boolean matches(java.lang.Object actual)
ArgumentMatcherThe method should never assert if the argument doesn't match. It should only return false.
matches in interface org.hamcrest.Matchermatches in class ArgumentMatcheractual - the argumentpublic void describeTo(org.hamcrest.Description description)
describeTo in interface org.hamcrest.SelfDescribingdescribeTo in class ArgumentMatcher