T - type of valuepublic interface ValuePredicate<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(T expected,
T actual)
Returns
true iff both values satisfy this predicate. |
String |
describeExpected(T expected,
T actual)
Returns an expected value as readable text.
|
boolean accepts(T expected, T actual)
true iff both values satisfy this predicate.expected - the expected value (nullable)actual - the actual value (nullable)true iff both values satisfy this predicate, false otherwise.IllegalArgumentException - if failed to calculate its satisfactionCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.