class MockInterceptor extends Object implements PropertyAccessInterceptor
Intercepting calls to the collaborating object and notify the expectation object.
Type | Name and description |
---|---|
Object |
expectation |
Constructor and description |
---|
MockInterceptor
() |
Type Params | Return Type | Name and description |
---|---|---|
|
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-2020 The Apache Software Foundation. All rights reserved.