public class MockPlayerMixin extends Object implements InvocationHandler
MockPlayerConcerncan be used. MockResolver player mixin will delegate method invocations to registered mocks. Mocks can be registered by using
MockComposite. If there is no mock registered to handle the method invocation invocation will fail by throwing an IllegalStateException.
|Constructor and Description|
|Modifier and Type||Method and Description|
Finds a registered mock that can handle the method invocation and delegate to it.
InvocationHandler.invoke(Object, java.lang.reflect.Method, Object)