### Question:
ListButtonBindingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListButtonBindingListener { public void listDataBindTypeChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.wtk.BindType arg1) { if (listDataBindTypeChanged != null) { listDataBindTypeChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getListDataKeyChanged(); CallableWithArgs<Void> getListDataBindTypeChanged(); CallableWithArgs<Void> getListDataBindMappingChanged(); CallableWithArgs<Void> getSelectedItemKeyChanged(); CallableWithArgs<Void> getSelectedItemBindTypeChanged(); CallableWithArgs<Void> getSelectedItemBindMappingChanged(); void setListDataKeyChanged(CallableWithArgs<Void> listDataKeyChanged); void setListDataBindTypeChanged(CallableWithArgs<Void> listDataBindTypeChanged); void setListDataBindMappingChanged(CallableWithArgs<Void> listDataBindMappingChanged); void setSelectedItemKeyChanged(CallableWithArgs<Void> selectedItemKeyChanged); void setSelectedItemBindTypeChanged(CallableWithArgs<Void> selectedItemBindTypeChanged); void setSelectedItemBindMappingChanged(CallableWithArgs<Void> selectedItemBindMappingChanged); void listDataKeyChanged(org.apache.pivot.wtk.ListButton arg0, java.lang.String arg1); void listDataBindTypeChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.wtk.BindType arg1); void listDataBindMappingChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.wtk.ListView.ListDataBindMapping arg1); void selectedItemKeyChanged(org.apache.pivot.wtk.ListButton arg0, java.lang.String arg1); void selectedItemBindTypeChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.wtk.BindType arg1); void selectedItemBindMappingChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.wtk.ListView.ItemBindMapping arg1);  }### Answer:
@Test public void testListDataBindTypeChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getListDataBindTypeChanged()); adapter.listDataBindTypeChanged(null, null); assertFalse(invoked[0]); adapter.setListDataBindTypeChanged(callable); adapter.listDataBindTypeChanged(null, null); assertTrue(invoked[0]); }