ClassProxyFactory.MockMethodInterceptor (EasyMock 3.3.1 API)
Date: 2015-01-05

org.easymock.internal

## Class ClassProxyFactory.MockMethodInterceptor

- java.lang.Object
- - org.easymock.internal.ClassProxyFactory.MockMethodInterceptor

- All Implemented Interfaces:
    Serializable, net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.MethodInterceptor
  Enclosing class:
    ClassProxyFactory

      public static class ClassProxyFactory.MockMethodInterceptor
      extends Object
      implements net.sf.cglib.proxy.MethodInterceptor, Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MockMethodInterceptor(InvocationHandler handler)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `intercept(Object obj, Method method, Object[] args, net.sf.cglib.proxy.MethodProxy proxy)`
    `void` | `setMockedMethods(Method... mockedMethods)`

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

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

- - ### Constructor Detail

    - #### MockMethodInterceptor

          public MockMethodInterceptor(InvocationHandler handler)

  - ### Method Detail

    - #### intercept

          public Object intercept(Object obj,
                                  Method method,
                                  Object[] args,
                                  net.sf.cglib.proxy.MethodProxy proxy)
                           throws Throwable

      Specified by:
        `intercept` in interface `net.sf.cglib.proxy.MethodInterceptor`
      Throws:
        `Throwable`

    - #### setMockedMethods

          public void setMockedMethods(Method... mockedMethods)

Copyright © 2001–2015 EasyMock contributors. All rights reserved.