Module org.easymock

Class ObjectMethodsFilter

  • All Implemented Interfaces:
    Serializable, InvocationHandler

    public final class ObjectMethodsFilter
    extends Object
    implements InvocationHandler, Serializable
    The filter catching all calls to the mock. It handles equals, hashCode, toString, and finalize in a special way. Then, for other calls, it delegates to the mock handler.
    Author:
    OFFIS, Tammo Freese, Henri Tremblay
    See Also:
    Serialized Form