grails.test
Class DemandProxy
java.lang.Object
grails.test.DemandProxy
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public class DemandProxy
- extends Object
- implements groovy.lang.GroovyObject
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DemandProxy
public DemandProxy(Class mockedClass,
boolean loose)
getMockedClass
public Class getMockedClass()
setMockedClass
public void setMockedClass(Class value)
getDemand
public groovy.mock.interceptor.Demand getDemand()
setDemand
public void setDemand(groovy.mock.interceptor.Demand value)
getExpectation
public Object getExpectation()
setExpectation
public void setExpectation(Object value)
getIsStatic
public boolean getIsStatic()
isIsStatic
public boolean isIsStatic()
setIsStatic
public void setIsStatic(boolean value)
getInstanceMethods
public Map getInstanceMethods()
setInstanceMethods
public void setInstanceMethods(Map value)
invokeMethod
public Object invokeMethod(String methodName,
Object args)
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
getStatic
public Object getStatic()
$getStaticMetaClass
protected groovy.lang.MetaClass $getStaticMetaClass()
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
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
Copyright (c) 2005-2009 The Grails project