org.qi4j.test.mock.internal
Class UnresolvableMockResolver

java.lang.Object
  extended by org.qi4j.test.mock.internal.UnresolvableMockResolver
All Implemented Interfaces:
MockResolver

public class UnresolvableMockResolver
extends Object
implements MockResolver

Placeholder for a not specified resolver type.


Constructor Summary
UnresolvableMockResolver()
           
 
Method Summary
 InvocationHandler getInvocationHandler(Object proxy, Method method, Object[] args)
          Does not match any method invocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnresolvableMockResolver

public UnresolvableMockResolver()
Method Detail

getInvocationHandler

public InvocationHandler getInvocationHandler(Object proxy,
                                              Method method,
                                              Object[] args)
Does not match any method invocation. Always returns null.

Specified by:
getInvocationHandler in interface MockResolver
Parameters:
proxy - object on which the method was invoked
method - invoked method
args - invocation arguments
Returns:
invocation handler if this resolved can handle the call or null otherwise.
See Also:
MockResolver.getInvocationHandler(Object, java.lang.reflect.Method, Object[])