com.atlassian.jira.rest.client.test.matchers
Class JSONObjectMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.junit.internal.matchers.TypeSafeMatcher<org.codehaus.jettison.json.JSONObject>
com.atlassian.jira.rest.client.test.matchers.JSONObjectMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<org.codehaus.jettison.json.JSONObject>, org.hamcrest.SelfDescribing
public class JSONObjectMatcher
- extends org.junit.internal.matchers.TypeSafeMatcher<org.codehaus.jettison.json.JSONObject>
|
Constructor Summary |
JSONObjectMatcher(org.codehaus.jettison.json.JSONObject jsonObject)
|
| Methods inherited from class org.junit.internal.matchers.TypeSafeMatcher |
matches |
| Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
JSONObjectMatcher
public JSONObjectMatcher(org.codehaus.jettison.json.JSONObject jsonObject)
isEqual
public static JSONObjectMatcher isEqual(org.codehaus.jettison.json.JSONObject jsonObject)
matchesSafely
public boolean matchesSafely(org.codehaus.jettison.json.JSONObject item)
- Specified by:
matchesSafely in class org.junit.internal.matchers.TypeSafeMatcher<org.codehaus.jettison.json.JSONObject>
describeTo
public void describeTo(org.hamcrest.Description description)
Copyright © 2013 Atlassian. All Rights Reserved.