public class PredicateAppliesMatcher<T>
extends org.hamcrest.TypeSafeMatcher<T>
| Modifier | Constructor and Description |
|---|---|
protected |
PredicateAppliesMatcher(com.google.common.base.Predicate<T> predicate) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(T item) |
static <T> org.hamcrest.Matcher<T> |
predicateApplies(com.google.common.base.Predicate<T> predicate) |
describeMismatch, describeMismatchSafely, matchesprotected PredicateAppliesMatcher(@NotNull
com.google.common.base.Predicate<T> predicate)
protected boolean matchesSafely(T item)
matchesSafely in class org.hamcrest.TypeSafeMatcher<T>public void describeTo(org.hamcrest.Description description)
public static <T> org.hamcrest.Matcher<T> predicateApplies(@NotNull
com.google.common.base.Predicate<T> predicate)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.