PlainBean bean = new PlainBean();
AOPProxyFactoryMixin[] mixins = {new AOPProxyFactoryMixin(SimpleMixinWithConstructorAndDelegate.class, new Class[]{Simple.class}, "this")};
Object proxy = assertCreateProxy(bean, mixins, Simple.class);
Simple simple = (Simple)proxy;
simple.doSomething();
assertTrue(SimpleMixinWithConstructorAndDelegate.invoked);
assertNotNull(SimpleMixinWithConstructorAndDelegate.proxy);
assertEquals(proxy, SimpleMixinWithConstructorAndDelegate.proxy);
assertNotNull(SimpleMixinWithConstructorAndDelegate.delegate);
assertEquals(bean, SimpleMixinWithConstructorAndDelegate.delegate);