@Test public void testInterceptorClass() throws Exception { TestDescriptorImpl provider = new TestDescriptorImpl("test"); InterceptorType<TestDescriptorImpl> type = new InterceptorTypeImpl<TestDescriptorImpl>( provider, "interceptorType", provider.getRootNode()); type.setInterceptorClass("test"); assertEquals(type.getInterceptorClass(), "test"); type.removeInterceptorClass(); assertNull(type.getInterceptorClass()); }