SimpleInterceptor.invoked = null;
proxy.doSomethingElse();
assertNull(SimpleInterceptor.invoked);
// But the interface should be advised
proxy.doSomething();
assertTrue(bean.invoked);
Method invoked = SimpleInterceptor.invoked;
assertNotNull(invoked);
assertEquals("doSomething", invoked.getName());
}