Griffon 0.9.5-rc2

griffon.test
[Groovy] Class DemandProxy

java.lang.Object
  griffon.test.DemandProxy

class DemandProxy

Keeps track of demands and expectations for a particular Griffon mock.


Property Summary
Demand demand

Object expectation

Map instanceMethods

Keeps a map of instance methods added via the mock.demand... syntax.

boolean isStatic

Class mockedClass

 
Constructor Summary
DemandProxy(Class mockedClass, boolean loose)

 
Method Summary
def getStatic()

def invokeMethod(String methodName, Object args)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Property Detail

demand

Demand demand


expectation

Object expectation


instanceMethods

Map instanceMethods
Keeps a map of instance methods added via the mock.demand... syntax.


isStatic

boolean isStatic


mockedClass

Class mockedClass


 
Constructor Detail

DemandProxy

DemandProxy(Class mockedClass, boolean loose)


 
Method Detail

getStatic

def getStatic()


invokeMethod

def invokeMethod(String methodName, Object args)


 

Groovy Documentation