### Question:
WindowAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.WindowListener { public void iconsRemoved(org.apache.pivot.wtk.Window arg0, int arg1, org.apache.pivot.collections.Sequence<Image> arg2) { if (iconsRemoved != null) { iconsRemoved.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getIconAdded(); CallableWithArgs<Void> getIconInserted(); CallableWithArgs<Void> getIconsRemoved(); CallableWithArgs<Void> getTitleChanged(); CallableWithArgs<Void> getContentChanged(); CallableWithArgs<Void> getActiveChanged(); CallableWithArgs<Void> getMaximizedChanged(); void setIconAdded(CallableWithArgs<Void> iconAdded); void setIconInserted(CallableWithArgs<Void> iconInserted); void setIconsRemoved(CallableWithArgs<Void> iconsRemoved); void setTitleChanged(CallableWithArgs<Void> titleChanged); void setContentChanged(CallableWithArgs<Void> contentChanged); void setActiveChanged(CallableWithArgs<Void> activeChanged); void setMaximizedChanged(CallableWithArgs<Void> maximizedChanged); void iconAdded(org.apache.pivot.wtk.Window arg0, org.apache.pivot.wtk.media.Image arg1); void iconInserted(org.apache.pivot.wtk.Window arg0, org.apache.pivot.wtk.media.Image arg1, int arg2); void iconsRemoved(org.apache.pivot.wtk.Window arg0, int arg1, org.apache.pivot.collections.Sequence<Image> arg2); void titleChanged(org.apache.pivot.wtk.Window arg0, java.lang.String arg1); void contentChanged(org.apache.pivot.wtk.Window arg0, org.apache.pivot.wtk.Component arg1); void activeChanged(org.apache.pivot.wtk.Window arg0, org.apache.pivot.wtk.Window arg1); void maximizedChanged(org.apache.pivot.wtk.Window arg0);  }### Answer:
@Test public void testIconsRemoved() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getIconsRemoved()); adapter.iconsRemoved(null, 0, null); assertFalse(invoked[0]); adapter.setIconsRemoved(callable); adapter.iconsRemoved(null, 0, null); assertTrue(invoked[0]); }