### Question:
TableViewSelectionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TableViewSelectionListener { public void selectedRangeRemoved(org.apache.pivot.wtk.TableView arg0, int arg1, int arg2) { if (selectedRangeRemoved != null) { selectedRangeRemoved.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getSelectedRangesChanged(); CallableWithArgs<Void> getSelectedRangeAdded(); CallableWithArgs<Void> getSelectedRangeRemoved(); CallableWithArgs<Void> getSelectedRowChanged(); void setSelectedRangesChanged(CallableWithArgs<Void> selectedRangesChanged); void setSelectedRangeAdded(CallableWithArgs<Void> selectedRangeAdded); void setSelectedRangeRemoved(CallableWithArgs<Void> selectedRangeRemoved); void setSelectedRowChanged(CallableWithArgs<Void> selectedRowChanged); void selectedRangesChanged(org.apache.pivot.wtk.TableView arg0, org.apache.pivot.collections.Sequence<Span> arg1); void selectedRangeAdded(org.apache.pivot.wtk.TableView arg0, int arg1, int arg2); void selectedRangeRemoved(org.apache.pivot.wtk.TableView arg0, int arg1, int arg2); void selectedRowChanged(org.apache.pivot.wtk.TableView arg0, java.lang.Object arg1);  }### Answer:
@Test public void testSelectedRangeRemoved() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getSelectedRangeRemoved()); adapter.selectedRangeRemoved(null, 0, 0); assertFalse(invoked[0]); adapter.setSelectedRangeRemoved(callable); adapter.selectedRangeRemoved(null, 0, 0); assertTrue(invoked[0]); }