java.lang.Object
org.easymock.internal.ObjectMethodsFilter
- All Implemented Interfaces:
Serializable
,InvocationHandler
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:
-
Constructor Summary
ConstructorDescriptionObjectMethodsFilter
(Class<?> toMock, MockInvocationHandler delegate, String name) -
Method Summary
-
Constructor Details
-
ObjectMethodsFilter
-
-
Method Details
-
getName
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-
getDelegate
-