public class MethodClassMatcherMockResolver extends Object implements MockResolver, InvocationHandler
| Constructor and Description |
|---|
MethodClassMatcherMockResolver(Object recordedMock,
Class methodClass) |
| Modifier and Type | Method and Description |
|---|---|
InvocationHandler |
getInvocationHandler(Object proxy,
Method method,
Object[] args)
Matches the method invocation to an invocation handler for a registered mock.
|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
public InvocationHandler getInvocationHandler(Object proxy, Method method, Object[] args)
MockResolvergetInvocationHandler in interface MockResolverproxy - object on which the method was invokedmethod - invoked methodargs - invocation arguments