### Question:
ElementShapeGlyphRenderer extends LienzoElementGlyphRenderer<ShapeGlyph> { @PreDestroy public void destroy() { viewsDestroyer.execute(); } protected  ElementShapeGlyphRenderer(); @Inject  ElementShapeGlyphRenderer(final LienzoGlyphRenderer<ShapeGlyph> lienzoShapeGlyphRenderer,
                                     final @Any ManagedInstance<WidgetElementRendererView> viewInstances);   ElementShapeGlyphRenderer(final LienzoGlyphRenderer<ShapeGlyph> lienzoShapeGlyphRenderer,
                              final Supplier<WidgetElementRendererView> viewInstances,
                              final Command viewsDestroyer); @Override Class<ShapeGlyph> getGlyphType(); @PreDestroy void destroy();  }### Answer:
@Test public void testDestroy() { tested.destroy(); verify(viewDestroyer, times(1)).execute(); }