|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object groovy.mock.interceptor.MockInterceptor
class MockInterceptor
Intercepting calls to the collaborating object and notify the expectation object.
Property Summary | |
---|---|
def |
expectation
|
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, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail |
---|
def expectation
Method Detail |
---|
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()
Copyright © 2003-2013 The Codehaus. All rights reserved.