com.atlassian.jira.rest.client.test.matchers
Class JSONObjectMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.junit.internal.matchers.TypeSafeMatcher<org.codehaus.jettison.json.JSONObject>
          extended by 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)
           
 
Method Summary
 void describeTo(org.hamcrest.Description description)
           
static JSONObjectMatcher isEqual(org.codehaus.jettison.json.JSONObject jsonObject)
           
 boolean matchesSafely(org.codehaus.jettison.json.JSONObject item)
           
 
Methods inherited from class org.junit.internal.matchers.TypeSafeMatcher
matches
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JSONObjectMatcher

public JSONObjectMatcher(org.codehaus.jettison.json.JSONObject jsonObject)
Method Detail

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.