### Question:
LienzoGlyphRenderers implements LienzoGlyphRenderer<Glyph> { @Override @SuppressWarnings("unchecked") public Group render(final Glyph glyph, final double width, final double height) { return (Group) getRenderer(glyph.getClass()) .render(glyph, width, height); } protected  LienzoGlyphRenderers(); @Inject  LienzoGlyphRenderers(final @Any ManagedInstance<LienzoGlyphRenderer> rendererInstances); @PostConstruct void init(); @Override @SuppressWarnings("unchecked") Group render(final Glyph glyph,
                        final double width,
                        final double height); @Override Class<Glyph> getGlyphType(); @PreDestroy void destroy();  }### Answer:
@Test @SuppressWarnings("unchecked") public void testRender() { final ShapeGlyph glyph = ShapeGlyph.create(); tested.render(glyph, 100, 200); verify(shapeGlyphRendererInstance, times(1)).render(eq(glyph), eq(100d), eq(200d)); }