### Question:
TableViewRowAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TableViewRowListener { public void rowsRemoved(org.apache.pivot.wtk.TableView arg0, int arg1, int arg2) { if (rowsRemoved != null) { rowsRemoved.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getRowsCleared(); CallableWithArgs<Void> getRowsSorted(); CallableWithArgs<Void> getRowsRemoved(); CallableWithArgs<Void> getRowUpdated(); CallableWithArgs<Void> getRowInserted(); void setRowsCleared(CallableWithArgs<Void> rowsCleared); void setRowsSorted(CallableWithArgs<Void> rowsSorted); void setRowsRemoved(CallableWithArgs<Void> rowsRemoved); void setRowUpdated(CallableWithArgs<Void> rowUpdated); void setRowInserted(CallableWithArgs<Void> rowInserted); void rowsCleared(org.apache.pivot.wtk.TableView arg0); void rowsSorted(org.apache.pivot.wtk.TableView arg0); void rowsRemoved(org.apache.pivot.wtk.TableView arg0, int arg1, int arg2); void rowUpdated(org.apache.pivot.wtk.TableView arg0, int arg1); void rowInserted(org.apache.pivot.wtk.TableView arg0, int arg1);  }### Answer:
@Test public void testRowsRemoved() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getRowsRemoved()); adapter.rowsRemoved(null, 0, 0); assertFalse(invoked[0]); adapter.setRowsRemoved(callable); adapter.rowsRemoved(null, 0, 0); assertTrue(invoked[0]); }