### Question:
ImageStripDOMGlyphRenderer implements DOMGlyphRenderer<ImageStripGlyph> { @PreDestroy public void destroy() { views.destroyAll(); } @Inject  ImageStripDOMGlyphRenderer(final ImageStripRegistry stripRegistry,
                                      final ManagedInstance<WidgetElementRendererView> views);   ImageStripDOMGlyphRenderer(final ImageStripRegistry stripRegistry,
                               final ManagedInstance<WidgetElementRendererView> views,
                               final BiFunction<String, Integer[], FlowPanel> panelBuilder); @Override Class<ImageStripGlyph> getGlyphType(); @Override IsElement render(final ImageStripGlyph glyph,
                            final double width,
                            final double height); @PreDestroy void destroy();  }### Answer:
@Test public void testDestroy() { tested.destroy(); verify(viewInstances, times(1)).destroyAll(); }