@Test public void testDestroy() { tested.destroy(); verify(stripInstances, times(1)).destroyAll(); }
@PreDestroy public void destroy() { stripInstances.destroyAll(); }
ImageStripRegistry { @PreDestroy public void destroy() { stripInstances.destroyAll(); } }
ImageStripRegistry { @PreDestroy public void destroy() { stripInstances.destroyAll(); } protected  ImageStripRegistry(); @Inject  ImageStripRegistry(final @Any ManagedInstance<ImageStrip> stripInstances); }
ImageStripRegistry { @PreDestroy public void destroy() { stripInstances.destroyAll(); } protected  ImageStripRegistry(); @Inject  ImageStripRegistry(final @Any ManagedInstance<ImageStrip> stripInstances); ImageStrip get(final String name); ImageStrip get(final Class<? extends ImageStrip> stripType); ImageStrip[] get(final Annotation... qualifiers); @PreDestroy void destroy(); @SuppressWarnings("unchecked") static String getName(final ImageStrip strip); static String getName(final Class<? extends ImageStrip> stripType); }
ImageStripRegistry { @PreDestroy public void destroy() { stripInstances.destroyAll(); } protected  ImageStripRegistry(); @Inject  ImageStripRegistry(final @Any ManagedInstance<ImageStrip> stripInstances); ImageStrip get(final String name); ImageStrip get(final Class<? extends ImageStrip> stripType); ImageStrip[] get(final Annotation... qualifiers); @PreDestroy void destroy(); @SuppressWarnings("unchecked") static String getName(final ImageStrip strip); static String getName(final Class<? extends ImageStrip> stripType);  }