@Test public void testDestroy() { tested.init(metadata, mock(Command.class)); tested.destroy(); verify(lienzoImageStrips, times(1)).remove(eq(STRIPS)); }
@Override public void destroy() { lienzoImageStrips.remove(strips); strips = null; }
LienzoImageStripLoader implements SessionInitializer { @Override public void destroy() { lienzoImageStrips.remove(strips); strips = null; } }
LienzoImageStripLoader implements SessionInitializer { @Override public void destroy() { lienzoImageStrips.remove(strips); strips = null; } protected  LienzoImageStripLoader(); @Inject  LienzoImageStripLoader(final DefinitionUtils definitionUtils,
                                  final ImageStripRegistry stripRegistry,
                                  final LienzoImageStrips lienzoImageStrips); }
LienzoImageStripLoader implements SessionInitializer { @Override public void destroy() { lienzoImageStrips.remove(strips); strips = null; } protected  LienzoImageStripLoader(); @Inject  LienzoImageStripLoader(final DefinitionUtils definitionUtils,
                                  final ImageStripRegistry stripRegistry,
                                  final LienzoImageStrips lienzoImageStrips); @Override void init(final Metadata metadata,
                     final Command completeCallback); @Override void destroy(); }
LienzoImageStripLoader implements SessionInitializer { @Override public void destroy() { lienzoImageStrips.remove(strips); strips = null; } protected  LienzoImageStripLoader(); @Inject  LienzoImageStripLoader(final DefinitionUtils definitionUtils,
                                  final ImageStripRegistry stripRegistry,
                                  final LienzoImageStrips lienzoImageStrips); @Override void init(final Metadata metadata,
                     final Command completeCallback); @Override void destroy();  }