### Question:
ImageElementGlyphRenderer implements DOMGlyphRenderer<ImageDataUriGlyph> { @Override public IsElement render(final ImageDataUriGlyph glyph, final double width, final double height) { final ImageElementRendererView view = viewInstanceSupplier.get(); return view.setImage(glyph.getUri(), (int) width, (int) height); } 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 testRender() { final ImageDataUriGlyph glyph = ImageDataUriGlyph.create(uri); tested.render(glyph, 100, 200); verify(viewSupplier, times(1)).get(); verify(view, times(1)).setImage(eq(uri), eq(100), eq(200)); }