[Groovy] Class Demand
- groovy.mock.interceptor.Demand
The object that registers method calls on it for the use with Mocks and Stubs. For each call a CallSpec object is added to the recorded list.
Properties Summary
Type | Name and description |
---|---|
Map |
ignore |
List |
recorded |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
Object |
invokeMethod(String methodName, Object args) | |
def |
verify(List calls) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail
Map ignore
List recorded
Method Detail
Object invokeMethod(String methodName, Object args)
def verify(List calls)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/groovy/mock/interceptor/Demand.html