public abstract class IsPojo<A>
extends org.hamcrest.TypeSafeDiagnosingMatcher<A>
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(A item,
org.hamcrest.Description mismatchDescription) |
static <A> IsPojo<A> |
pojo(Class<A> cls) |
<T> IsPojo<A> |
where(MethodReference<A,T> methodReference,
org.hamcrest.Matcher<T> returnValueMatcher) |
<T> IsPojo<A> |
where(String methodName,
org.hamcrest.Matcher<T> returnValueMatcher) |
IsPojo<A> |
withProperty(String property,
org.hamcrest.Matcher<?> valueMatcher) |
public <T> IsPojo<A> where(MethodReference<A,T> methodReference, org.hamcrest.Matcher<T> returnValueMatcher)
protected boolean matchesSafely(A item, org.hamcrest.Description mismatchDescription)
matchesSafely in class org.hamcrest.TypeSafeDiagnosingMatcher<A>public void describeTo(org.hamcrest.Description description)
Copyright © 2018. All rights reserved.