Groovy 1.7.2

groovy.mock.interceptor
Class Demand

java.lang.Object
  groovy.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.

author:
Dierk Koenig


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

invokeMethod

public Object invokeMethod(String methodName, Object args)


verify

public def verify(List calls)


 

Copyright © 2003-2010 The Codehaus. All rights reserved.