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, matches
Copyright © 2010–2022. All rights reserved.