### Question:
TextAreaBindingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TextAreaBindingListener { public void textBindTypeChanged(org.apache.pivot.wtk.TextArea arg0, org.apache.pivot.wtk.BindType arg1) { if (textBindTypeChanged != null) { textBindTypeChanged.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.TextArea arg0, java.lang.String arg1); void textBindTypeChanged(org.apache.pivot.wtk.TextArea arg0, org.apache.pivot.wtk.BindType arg1); void textBindMappingChanged(org.apache.pivot.wtk.TextArea arg0, org.apache.pivot.wtk.TextArea.TextBindMapping arg1);  }### Answer:
@Test public void testTextBindTypeChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getTextBindTypeChanged()); adapter.textBindTypeChanged(null, null); assertFalse(invoked[0]); adapter.setTextBindTypeChanged(callable); adapter.textBindTypeChanged(null, null); assertTrue(invoked[0]); }