public class DestroyableInjectionListenerTest {
@Test
public void testAfterInjection() throws Exception {
DestroyableInjectionListener.DestroyableRegistry registry = createMock(DestroyableInjectionListener.DestroyableRegistry.class);
Destroyable destroyable = createMock(Destroyable.class);
registry.add(destroyable);
replay(registry, destroyable);