Keeps track of demands and expectations for a particular Grails mock.
Type | Name and description |
---|---|
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 and description |
---|
DemandProxy
(java.lang.Class mockedClass, boolean loose) |
Type | Name and description |
---|---|
java.lang.Object |
getStatic() |
java.lang.Object |
invokeMethod(java.lang.String methodName, java.lang.Object args) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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() |
Groovy Documentation