@Test
public void testEqualsThroughProxies() {
Class<?>[] interfaces = {TestInterface.class};
CXFInvocationHandlerData data1 = new CXFInvocationHandlerDataImpl();
CXFInvocationHandlerData data2 = new CXFInvocationHandlerDataImpl();
data1.setTarget(new TestTarget());
data2.setTarget(new TestTarget());
ObjectMethodInvocationHandler handler1 = new ObjectMethodInvocationHandler(data1);
handler1.setNext((CXFInvocationHandler)mockHandler);
ObjectMethodInvocationHandler handler2 = new ObjectMethodInvocationHandler(data2);
handler2.setNext((CXFInvocationHandler)mockHandler);