public void testSimple() throws Exception
{
SimpleInterceptor.invoked = null;
SimpleBean bean = new SimpleBean();
SimpleBean proxy = (SimpleBean) assertCreateProxy(bean, SimpleBean.class);
proxy.doSomethingElse();
assertTrue(bean.invoked);
Method invoked = SimpleInterceptor.invoked;
assertNotNull(invoked);
assertEquals("doSomethingElse", invoked.getName());
}