DemandProxy (Griffon 0.9.5-rc2)
Date: 2012-03-09

Overview | Package | Class | Deprecated | Index | Help
| Griffon 0.9.5-rc2
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD

## 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