### Question:
ColorChooserBindingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ColorChooserBindingListener { public void selectedColorBindMappingChanged(org.apache.pivot.wtk.ColorChooser arg0, org.apache.pivot.wtk.ColorChooser.SelectedColorBindMapping arg1) { if (selectedColorBindMappingChanged != null) { selectedColorBindMappingChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getSelectedColorBindMappingChanged(); CallableWithArgs<Void> getSelectedColorKeyChanged(); CallableWithArgs<Void> getSelectedColorBindTypeChanged(); void setSelectedColorBindMappingChanged(CallableWithArgs<Void> selectedColorBindMappingChanged); void setSelectedColorKeyChanged(CallableWithArgs<Void> selectedColorKeyChanged); void setSelectedColorBindTypeChanged(CallableWithArgs<Void> selectedColorBindTypeChanged); void selectedColorBindMappingChanged(org.apache.pivot.wtk.ColorChooser arg0, org.apache.pivot.wtk.ColorChooser.SelectedColorBindMapping arg1); void selectedColorKeyChanged(org.apache.pivot.wtk.ColorChooser arg0, java.lang.String arg1); void selectedColorBindTypeChanged(org.apache.pivot.wtk.ColorChooser arg0, org.apache.pivot.wtk.BindType arg1);  }### Answer:
@Test public void testSelectedColorBindMappingChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getSelectedColorBindMappingChanged()); adapter.selectedColorBindMappingChanged(null, null); assertFalse(invoked[0]); adapter.setSelectedColorBindMappingChanged(callable); adapter.selectedColorBindMappingChanged(null, null); assertTrue(invoked[0]); }