### Question:
DOMGlyphRenderers implements DOMGlyphRenderer<Glyph> { @Override @SuppressWarnings("unchecked") public IsElement render(Glyph glyph, double width, double height) { return (IsElement) getRenderer(glyph.getClass()) .render(glyph, width, height); } 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 @SuppressWarnings("unchecked") public void testRender() { final ShapeGlyph glyph = ShapeGlyph.create(); tested.render(glyph, 100, 200); verify(elementShapeGlyphRenderer, times(1)).render(eq(glyph), eq(100d), eq(200d)); }