### Question:
ImageElementGlyphRenderer implements DOMGlyphRenderer<ImageDataUriGlyph> { @PreDestroy public void destroy() { viewInstancesDestroyer.execute(); } protected  ImageElementGlyphRenderer(); @Inject  ImageElementGlyphRenderer(final @Any ManagedInstance<ImageElementRendererView> viewInstances);   ImageElementGlyphRenderer(final Supplier<ImageElementRendererView> viewInstanceSupplier,
                              final Command viewInstancesDestroyer); @Override Class<ImageDataUriGlyph> getGlyphType(); @Override IsElement render(final ImageDataUriGlyph glyph,
                            final double width,
                            final double height); @PreDestroy void destroy();  }### Answer:
@Test public void testDestroy() { tested.destroy(); verify(viewDestroyer, times(1)).execute(); }