### Question:
AccordionAttributeAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.AccordionAttributeListener { public void tooltipTextChanged(org.apache.pivot.wtk.Accordion arg0, org.apache.pivot.wtk.Component arg1, java.lang.String arg2) { if (tooltipTextChanged != null) { tooltipTextChanged.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getHeaderDataChanged(); CallableWithArgs<Void> getTooltipTextChanged(); void setHeaderDataChanged(CallableWithArgs<Void> headerDataChanged); void setTooltipTextChanged(CallableWithArgs<Void> tooltipTextChanged); void headerDataChanged(org.apache.pivot.wtk.Accordion arg0, org.apache.pivot.wtk.Component arg1, java.lang.Object arg2); void tooltipTextChanged(org.apache.pivot.wtk.Accordion arg0, org.apache.pivot.wtk.Component arg1, java.lang.String arg2);  }### Answer:
@Test public void testTooltipTextChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getTooltipTextChanged()); adapter.tooltipTextChanged(null, null, null); assertFalse(invoked[0]); adapter.setTooltipTextChanged(callable); adapter.tooltipTextChanged(null, null, null); assertTrue(invoked[0]); }