### Question:
DOMGlyphRenderers implements DOMGlyphRenderer<Glyph> { @PreDestroy public void destroy() { renderers.clear(); rendererInstances.destroyAll(); } protected  DOMGlyphRenderers(); @Inject  DOMGlyphRenderers(final @Any ManagedInstance<DOMGlyphRenderer> rendererInstances); @PostConstruct void init(); @Override Class<Glyph> getGlyphType(); @Override @SuppressWarnings("unchecked") IsElement render(Glyph glyph,
                            double width,
                            double height); @PreDestroy void destroy();  }### Answer:
@Test public void testDestroy() { tested.destroy(); verify(rendererInstances, times(1)).destroyAll(); }