### Question:
LienzoTextTooltip extends AbstractCanvasTooltip<String> { @Override public void hide() { tooltip.hide(); } LienzoTextTooltip();   LienzoTextTooltip(final PrimitiveTooltip tooltip); @Override void showAt(final String content,
                       final Point2D location); @Override void hide(); @Override void destroy();  }### Answer:
@Test public void testShow() { tested.show("content1", new Point2D(200d, 100d)); final ArgumentCaptor<com.ait.lienzo.client.core.types.Point2D> pointCaptor = ArgumentCaptor.forClass(com.ait.lienzo.client.core.types.Point2D.class); verify(primitiveTooltip, times(1)) .show(eq("content1"), pointCaptor.capture(), eq(PrimitiveTooltip.Direction.WEST)); final com.ait.lienzo.client.core.types.Point2D point = pointCaptor.getValue(); assertEquals(200d, point.getX(), 0); assertEquals(100d, point.getY(), 0); verify(primitiveTooltip, never()).hide(); verify(primitiveTooltip, never()).remove(); }
@Test public void testHide() { tested.hide(); verify(primitiveTooltip, times(1)).hide(); verify(primitiveTooltip, never()).show(any(IPrimitive.class), anyString(), any(com.ait.lienzo.client.core.types.Point2D.class), anyDouble(), anyDouble(), any(PrimitiveTooltip.Direction.class)); }