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