Class JsonMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<String>
com.atlassian.bamboo.matcher.json.JsonMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<String>
,org.hamcrest.SelfDescribing
-
Constructor Summary
ConstructorDescriptionJsonMatcher
(com.google.gson.JsonElement expectedJsonObject) JsonMatcher
(String expectedJsonStr) -
Method Summary
Modifier and TypeMethodDescriptionvoid
describeTo
(org.hamcrest.Description description) protected boolean
matchesSafely
(@NotNull String item) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
-
Constructor Details
-
JsonMatcher
-
JsonMatcher
public JsonMatcher(com.google.gson.JsonElement expectedJsonObject)
-
-
Method Details
-
matchesSafely
- Specified by:
matchesSafely
in classorg.hamcrest.TypeSafeMatcher<String>
-
describeTo
public void describeTo(org.hamcrest.Description description)
-