public class PredicateMatcher<T>
extends org.hamcrest.TypeSafeMatcher<T>
Predicate.| Modifier and Type | Method and Description |
|---|---|
static <T> PredicateMatcher<T> |
customMatcher(com.ca.codesv.sdk.function.Predicate<T> requestPredicate)
Creates matcher for matching
Predicate. |
protected void |
describeMismatchSafely(T item,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(T item) |
public static <T> PredicateMatcher<T> customMatcher(com.ca.codesv.sdk.function.Predicate<T> requestPredicate)
Predicate.T - custom classrequestPredicate - predicateprotected boolean matchesSafely(T item)
matchesSafely in class org.hamcrest.TypeSafeMatcher<T>public void describeTo(org.hamcrest.Description description)