|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Facade over the Stubbing details. A Stub's expectation is sequence independent and use of verify() is left to the user.
Field Summary | |
---|---|
Class |
clazz
|
Demand |
demand
|
def |
expect
|
Map |
instanceExpectations
|
MockProxyMetaClass |
proxy
|
Constructor Summary | |
StubFor(Class clazz)
|
Method Summary | |
---|---|
def |
getInstance(Class clazz, def args)
|
Object |
proxyDelegateInstance()
|
Object |
proxyDelegateInstance(def args)
|
Object |
proxyInstance()
|
Object |
proxyInstance(def args)
|
void |
use(Closure closure)
|
void |
use(GroovyObject obj, Closure closure)
|
void |
verify(GroovyObject obj)
|
Constructor Detail |
---|
public StubFor(Class clazz)
Method Detail |
---|
def getInstance(Class clazz, def args)
Object proxyDelegateInstance()
Object proxyDelegateInstance(def args)
Object proxyInstance()
Object proxyInstance(def args)
void use(Closure closure)
void use(GroovyObject obj, Closure closure)
void verify(GroovyObject obj)