@Test public void testAroundTimeout() throws Exception { TestDescriptorImpl provider = new TestDescriptorImpl("test"); InterceptorType<TestDescriptorImpl> type = new InterceptorTypeImpl<TestDescriptorImpl>( provider, "interceptorType", provider.getRootNode()); type.aroundTimeout().up(); type.aroundTimeout().up(); assertTrue(type.getAroundTimeoutList().size() == 2); type.removeAllAroundTimeout(); assertTrue(type.getAroundTimeoutList().size() == 0); }