Class MockInvocationHandler

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.reflect.InvocationHandler

    public final class MockInvocationHandler
    extends java.lang.Object
    implements java.lang.reflect.InvocationHandler, java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • MockInvocationHandler

        public MockInvocationHandler​(MocksControl control)
    • Method Detail

      • invoke

        public java.lang.Object invoke​(java.lang.Object proxy,
                                       java.lang.reflect.Method method,
                                       java.lang.Object[] args)
                                throws java.lang.Throwable
        Specified by:
        invoke in interface java.lang.reflect.InvocationHandler
        Throws:
        java.lang.Throwable