|
Groovy 1.7.2 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.mock.interceptor.MockInterceptor
public class MockInterceptor extends Object
Intercepting calls to the collaborating object and notify the expectation object.
Method Summary | |
---|---|
def
|
afterInvoke(Object object, String methodName, Object[] arguments, Object result)
|
def
|
beforeGet(Object object, String property)
|
def
|
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 |
Method Detail |
---|
public def afterInvoke(Object object, String methodName, Object[] arguments, Object result)
public def beforeGet(Object object, String property)
public def beforeInvoke(Object object, String methodName, Object[] arguments)
public void beforeSet(Object object, String property, Object newValue)
public boolean doInvoke()
Copyright © 2003-2010 The Codehaus. All rights reserved.