com.jayway.restassured.assertion
Class JSONAssertion

java.lang.Object
  extended by com.jayway.restassured.assertion.JSONAssertion
All Implemented Interfaces:
Assertion, groovy.lang.GroovyObject

public class JSONAssertion
extends Object
implements Assertion, groovy.lang.GroovyObject


Constructor Summary
JSONAssertion()
           
 
Method Summary
 String description()
           
 Object getAsJsonObject(Object object)
           
 String getKey()
           
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String property)
           
 Object getResult(Object object)
           
 Object invokeMethod(String method, Object arguments)
           
 void setKey(String value)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProperty(String property, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONAssertion

public JSONAssertion()
Method Detail

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String method,
                           Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject

getKey

public String getKey()

setKey

public void setKey(String value)

getResult

public Object getResult(Object object)
Specified by:
getResult in interface Assertion

getAsJsonObject

public Object getAsJsonObject(Object object)

description

public String description()
Specified by:
description in interface Assertion


Copyright © 2010-2011. All Rights Reserved.