### Question:
CalendarAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.CalendarListener { public void disabledDateFilterChanged(org.apache.pivot.wtk.Calendar arg0, org.apache.pivot.util.Filter<CalendarDate> arg1) { if (disabledDateFilterChanged != null) { disabledDateFilterChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getMonthChanged(); CallableWithArgs<Void> getLocaleChanged(); CallableWithArgs<Void> getDisabledDateFilterChanged(); CallableWithArgs<Void> getYearChanged(); void setMonthChanged(CallableWithArgs<Void> monthChanged); void setLocaleChanged(CallableWithArgs<Void> localeChanged); void setDisabledDateFilterChanged(CallableWithArgs<Void> disabledDateFilterChanged); void setYearChanged(CallableWithArgs<Void> yearChanged); void monthChanged(org.apache.pivot.wtk.Calendar arg0, int arg1); void localeChanged(org.apache.pivot.wtk.Calendar arg0, java.util.Locale arg1); void disabledDateFilterChanged(org.apache.pivot.wtk.Calendar arg0, org.apache.pivot.util.Filter<CalendarDate> arg1); void yearChanged(org.apache.pivot.wtk.Calendar arg0, int arg1);  }### Answer:
@Test public void testDisabledDateFilterChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getDisabledDateFilterChanged()); adapter.disabledDateFilterChanged(null, null); assertFalse(invoked[0]); adapter.setDisabledDateFilterChanged(callable); adapter.disabledDateFilterChanged(null, null); assertTrue(invoked[0]); }