### Question:
ListButtonItemAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListButtonItemListener { public void itemsRemoved(org.apache.pivot.wtk.ListButton arg0, int arg1, int arg2) { if (itemsRemoved != null) { itemsRemoved.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getItemsCleared(); CallableWithArgs<Void> getItemsSorted(); CallableWithArgs<Void> getItemInserted(); CallableWithArgs<Void> getItemUpdated(); CallableWithArgs<Void> getItemsRemoved(); void setItemsCleared(CallableWithArgs<Void> itemsCleared); void setItemsSorted(CallableWithArgs<Void> itemsSorted); void setItemInserted(CallableWithArgs<Void> itemInserted); void setItemUpdated(CallableWithArgs<Void> itemUpdated); void setItemsRemoved(CallableWithArgs<Void> itemsRemoved); void itemsCleared(org.apache.pivot.wtk.ListButton arg0); void itemsSorted(org.apache.pivot.wtk.ListButton arg0); void itemInserted(org.apache.pivot.wtk.ListButton arg0, int arg1); void itemUpdated(org.apache.pivot.wtk.ListButton arg0, int arg1); void itemsRemoved(org.apache.pivot.wtk.ListButton arg0, int arg1, int arg2);  }### Answer:
@Test public void testItemsRemoved() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getItemsRemoved()); adapter.itemsRemoved(null, 0, 0); assertFalse(invoked[0]); adapter.setItemsRemoved(callable); adapter.itemsRemoved(null, 0, 0); assertTrue(invoked[0]); }