|
Groovy 1.7.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectgroovy.mock.interceptor.StubFor
class StubFor extends Object
Facade over the Stubbing details. A Stub's expectation is sequence independent and use of verify() is left to the user.
Property Summary | |
---|---|
Class |
clazz
|
Demand |
demand
|
def |
expect
|
Map |
instanceExpectations
|
MockProxyMetaClass |
proxy
|
Constructor Summary | |
StubFor(Class clazz)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Property Detail |
---|
Class clazz
Demand demand
def expect
Map instanceExpectations
MockProxyMetaClass proxy
Constructor Detail |
---|
public StubFor(Class clazz)
Method Detail |
---|
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)
Copyright © 2003-2009 The Codehaus. All rights reserved.