### Question:
CanvasDefinitionTooltip implements CanvasTooltip<CanvasDefinitionTooltip.DefinitionIdContent> { public void destroy() { textTooltip.destroy(); } @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 testDestroy() { tested.destroy(); verify(textTooltip, times(1)).destroy(); verify(textTooltip, never()).show(anyString(), any(Point2D.class)); }