(proxy.getClass() != IJmxTestBean.class));
}
public void testDifferentProxiesSameClass() throws Exception {
if (!runTests) return;
IJmxTestBean proxy1 = getProxy();
IJmxTestBean proxy2 = getProxy();
assertNotSame("The proxies should NOT be the same", proxy1, proxy2);
assertSame("The proxy classes should be the same", proxy1.getClass(), proxy2.getClass());
}