### Question:
ComponentTooltipAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentTooltipListener { public void tooltipTriggered(org.apache.pivot.wtk.Component arg0, int arg1, int arg2) { if (tooltipTriggered != null) { tooltipTriggered.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getTooltipTriggered(); void setTooltipTriggered(CallableWithArgs<Void> tooltipTriggered); void tooltipTriggered(org.apache.pivot.wtk.Component arg0, int arg1, int arg2);  }### Answer:
@Test public void testTooltipTriggered() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getTooltipTriggered()); adapter.tooltipTriggered(null, 0, 0); assertFalse(invoked[0]); adapter.setTooltipTriggered(callable); adapter.tooltipTriggered(null, 0, 0); assertTrue(invoked[0]); }