MockInvocationHandler
Date: 2015-09-17

org.easymock.internal

## Class MockInvocationHandler

- java.lang.Object
- - org.easymock.internal.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 Summary

    Constructors
    Constructor and Description
    `MockInvocationHandler(MocksControl control)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `MocksControl` | `getControl()`
    `java.lang.Object` | `invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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`

    - #### getControl

          public MocksControl getControl()