}
public void shouldDeProxyJavassistProxy() {
ProxyFactory proxyFactory = new ProxyFactory();
proxyFactory.setSuperclass(Foo.class);
Class<?> proxy = proxyFactory.createClass();
assertEquals(Types.deProxy(proxy), Foo.class);
}
public void shouldDeProxyCGLibProxy() throws Exception {