@Test public void testAroundInvoke() throws Exception { TestDescriptorImpl provider = new TestDescriptorImpl("test"); InterceptorType<TestDescriptorImpl> type = new InterceptorTypeImpl<TestDescriptorImpl>( provider, "interceptorType", provider.getRootNode()); type.aroundInvoke().up(); type.aroundInvoke().up(); assertTrue(type.getAroundInvokeList().size() == 2); type.removeAllAroundInvoke(); assertTrue(type.getAroundInvokeList().size() == 0); }