### Question:
CanvasDefinitionTooltip implements CanvasTooltip<CanvasDefinitionTooltip.DefinitionIdContent> { @Override public void setCanvasLocation(final Point2D location) { this.textTooltip.setCanvasLocation(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 testSetCanvasLocation() { final Point2D point = new Point2D(22, 66); tested.setCanvasLocation(point); verify(textTooltip, times(1)).setCanvasLocation(eq(point)); }