|
Groovy 1.7.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectgroovy.mock.interceptor.MockInterceptor
class MockInterceptor extends Object
Intercepting calls to the collaborating object and notify the expectation object.
Property Summary | |
---|---|
def |
expectation
|
Constructor Summary | |
MockInterceptor()
|
Method Summary | |
---|---|
Object
|
afterInvoke(Object object, String methodName, Object[] arguments, Object result)
|
Object
|
beforeGet(Object object, String property)
|
Object
|
beforeInvoke(Object object, String methodName, Object[] arguments)
|
void
|
beforeSet(Object object, String property, Object newValue)
|
boolean
|
doInvoke()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Property Detail |
---|
def expectation
Constructor Detail |
---|
MockInterceptor()
Method Detail |
---|
Object afterInvoke(Object object, String methodName, Object[] arguments, Object result)
Object beforeGet(Object object, String property)
Object beforeInvoke(Object object, String methodName, Object[] arguments)
void beforeSet(Object object, String property, Object newValue)
boolean doInvoke()
Copyright © 2003-2009 The Codehaus. All rights reserved.