Class JSONObjectContains

java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<org.json.JSONObject>
com.atlassian.jira.functest.matcher.JSONObjectContains
All Implemented Interfaces:
org.hamcrest.Matcher<org.json.JSONObject>, org.hamcrest.SelfDescribing

public class JSONObjectContains extends org.hamcrest.TypeSafeMatcher<org.json.JSONObject>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    describeTo(org.hamcrest.Description description)
     
    protected boolean
    matchesSafely(org.json.JSONObject jsonObject)
     

    Methods inherited from class org.hamcrest.TypeSafeMatcher

    describeMismatch, describeMismatchSafely, 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 Details

    • JSONObjectContains

      public JSONObjectContains(String... keys)
  • Method Details

    • matchesSafely

      protected boolean matchesSafely(org.json.JSONObject jsonObject)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<org.json.JSONObject>
    • describeTo

      public void describeTo(org.hamcrest.Description description)