|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object grails.test.DemandProxy
class DemandProxy extends java.lang.Object
Keeps track of demands and expectations for a particular Grails mock.
Property Summary | |
---|---|
groovy.mock.interceptor.Demand |
demand
|
java.lang.Object |
expectation
|
java.util.Map |
instanceMethods
Keeps a map of instance methods added via the mock.demand... syntax. |
boolean |
isStatic
|
groovy.lang.MetaClass |
mockMetaClass
|
java.lang.Class |
mockedClass
|
Constructor Summary | |
DemandProxy(java.lang.Class mockedClass, boolean loose)
|
Method Summary | |
---|---|
java.lang.Object
|
getStatic()
|
java.lang.Object
|
invokeMethod(java.lang.String methodName, java.lang.Object args)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Property Detail |
---|
groovy.mock.interceptor.Demand demand
java.lang.Object expectation
java.util.Map instanceMethods
boolean isStatic
groovy.lang.MetaClass mockMetaClass
java.lang.Class mockedClass
Constructor Detail |
---|
DemandProxy(java.lang.Class mockedClass, boolean loose)
Method Detail |
---|
java.lang.Object getStatic()
java.lang.Object invokeMethod(java.lang.String methodName, java.lang.Object args)
Groovy Documentation