T - The type of value to match againstpublic class PredicateMatcher<T>
extends org.hamcrest.TypeSafeMatcher<T>
| Constructor and Description |
|---|
PredicateMatcher(Predicate<T> predicate)
Initializes the matcher using given
predicate to test values to match against. |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(T item) |
describeMismatch, describeMismatchSafely, matchesCopyright © 2010–2023. All rights reserved.