public abstract class AbstractSimpleComparableMatcher extends AbstractSimpleMatcher
| Constructor and Description |
|---|
AbstractSimpleComparableMatcher() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
matches(Comparable actual,
Comparable pivot)
Does comparison and returns the result.
|
protected boolean |
matches(Parameter parameter,
Object actual,
Object expected)
Called to see if the condition holds
|
isApplicableTo, matchesprotected final boolean matches(Parameter parameter, Object actual, Object expected)
AbstractSimpleMatchermatches in class AbstractSimpleMatcherparameter - the parameteractual - the actual valueexpected - the expectationprotected abstract boolean matches(Comparable actual, Comparable pivot)
actual - the actual valuepivot - the pivotCopyright © 2014–2021. All rights reserved.