### Question:
CanvasDefinitionTooltip implements CanvasTooltip<CanvasDefinitionTooltip.DefinitionIdContent> { @Override public void show(final DefinitionIdContent content, final Point2D location) { this.show(content.id, location); } @Inject  CanvasDefinitionTooltip(final DefinitionManager definitionManager,
                                   final DefinitionsCacheRegistry registry,
                                   final CanvasTooltip<String> textTooltip);   CanvasDefinitionTooltip(final CanvasTooltip<String> textTooltip,
                            final Function<String, String> titleProvider); CanvasDefinitionTooltip setPrefix(final String value); CanvasDefinitionTooltip configure(final AbstractCanvasHandler canvasHandler); @Override void setCanvasLocation(final Point2D location); @Override void setTransform(Transform transform); @Override void show(final DefinitionIdContent content,
                     final Point2D location); void show(final String definitionId,
                     final Point2D location); @Override void hide(); void destroy();  }### Answer:
@Test public void testShow() { final Point2D point = new Point2D(55, 6); tested.show(new CanvasDefinitionTooltip.DefinitionIdContent("def1"), point); verify(textTooltip, times(1)).show(eq("def1theTestTitle"), eq(point)); verify(textTooltip, never()).hide(); verify(textTooltip, never()).destroy(); }