Class IsJson<T>
- java.lang.Object
-
- org.hamcrest.BaseMatcher<T>
-
- org.hamcrest.TypeSafeMatcher<T>
-
- dev.aherscu.qa.testing.utils.assertions.IsJson<T>
-
- All Implemented Interfaces:
org.hamcrest.Matcher<T>
,org.hamcrest.SelfDescribing
public class IsJson<T> extends org.hamcrest.TypeSafeMatcher<T>
-
-
Constructor Summary
Constructors Constructor Description IsJson(org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> jsonMatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
describeMismatchSafely(T json, org.hamcrest.Description mismatchDescription)
void
describeTo(org.hamcrest.Description description)
protected boolean
matchesSafely(T json)
-