### Question:
LabelBindingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.LabelBindingListener { public void textKeyChanged(org.apache.pivot.wtk.Label arg0, java.lang.String arg1) { if (textKeyChanged != null) { textKeyChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getTextKeyChanged(); CallableWithArgs<Void> getTextBindTypeChanged(); CallableWithArgs<Void> getTextBindMappingChanged(); void setTextKeyChanged(CallableWithArgs<Void> textKeyChanged); void setTextBindTypeChanged(CallableWithArgs<Void> textBindTypeChanged); void setTextBindMappingChanged(CallableWithArgs<Void> textBindMappingChanged); void textKeyChanged(org.apache.pivot.wtk.Label arg0, java.lang.String arg1); void textBindTypeChanged(org.apache.pivot.wtk.Label arg0, org.apache.pivot.wtk.BindType arg1); void textBindMappingChanged(org.apache.pivot.wtk.Label arg0, org.apache.pivot.wtk.Label.TextBindMapping arg1);  }### Answer:
@Test public void testTextKeyChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getTextKeyChanged()); adapter.textKeyChanged(null, null); assertFalse(invoked[0]); adapter.setTextKeyChanged(callable); adapter.textKeyChanged(null, null); assertTrue(invoked[0]); }