Callable<Object> c2 = new TestCallable();
((List<Object>)c2.call()).add("Some test data");
Collection<Class<?>> classes = new ArrayList<Class<?>>();
classes.add(List.class);
Object proxy = mgr.createProxy(b, classes, c);
Object otherProxy = mgr.createProxy(b, classes, c);
Object totallyOtherProxy = mgr.createProxy(b, classes, c2);
assertTrue("The object is not equal to itself", proxy.equals(proxy));
assertTrue("The object is not equal to another proxy of itself", proxy.equals(otherProxy));
assertFalse("The object is equal to proxy to another object", proxy.equals(totallyOtherProxy));