public final class SkippingMatcher extends AbstractMatcher<Object,Object>
Matcher that always returns false.| Constructor and Description |
|---|
SkippingMatcher() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
matchImpl(Object first,
Object second)
Compares two objects and returns whether they match or not.
|
boolean |
supports(Object object)
Returns whether or not this
Matcher supports provided object. |
matchpublic boolean supports(@Nullable Object object)
MatcherMatcher supports provided object.protected boolean matchImpl(@Nullable Object first, @Nullable Object second)
AbstractMatchermatchImpl in class AbstractMatcher<Object,Object>first - first matched objectsecond - second matched objecttrue if provided objects match, otherwise falseCopyright © 2020. All rights reserved.