class MockInterceptor
Intercepting calls to the collaborating object and notify the expectation object.
Type | Name and description |
---|---|
def |
expectation |
Type | Name and description |
---|---|
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() |