public class WithJsonPath<T>
extends org.hamcrest.TypeSafeMatcher<com.jayway.jsonpath.ReadContext>
| Constructor and Description |
|---|
WithJsonPath(com.jayway.jsonpath.JsonPath jsonPath,
org.hamcrest.Matcher<T> resultMatcher) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
describeMismatchSafely(com.jayway.jsonpath.ReadContext context,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(com.jayway.jsonpath.ReadContext context) |
public WithJsonPath(com.jayway.jsonpath.JsonPath jsonPath,
org.hamcrest.Matcher<T> resultMatcher)
protected boolean matchesSafely(com.jayway.jsonpath.ReadContext context)
matchesSafely in class org.hamcrest.TypeSafeMatcher<com.jayway.jsonpath.ReadContext>public void describeTo(org.hamcrest.Description description)
protected void describeMismatchSafely(com.jayway.jsonpath.ReadContext context,
org.hamcrest.Description mismatchDescription)
describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<com.jayway.jsonpath.ReadContext>