|
Groovy 1.7.2 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.mock.interceptor.Demand
public class Demand extends Object
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.
Method Summary | |
---|---|
Object
|
invokeMethod(String methodName, Object args)
|
def
|
verify(List calls)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Method Detail |
---|
public Object invokeMethod(String methodName, Object args)
public def verify(List calls)
Copyright © 2003-2010 The Codehaus. All rights reserved.