### Question:
TablePaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TablePaneListener { public void rowHighlightedChanged(org.apache.pivot.wtk.TablePane.Row arg0) { if (rowHighlightedChanged != null) { rowHighlightedChanged.call(arg0); } }  CallableWithArgs<Void> getCellInserted(); CallableWithArgs<Void> getCellsRemoved(); CallableWithArgs<Void> getCellUpdated(); CallableWithArgs<Void> getRowHeightChanged(); CallableWithArgs<Void> getRowHighlightedChanged(); CallableWithArgs<Void> getColumnInserted(); CallableWithArgs<Void> getColumnsRemoved(); CallableWithArgs<Void> getColumnWidthChanged(); CallableWithArgs<Void> getColumnHighlightedChanged(); CallableWithArgs<Void> getRowsRemoved(); CallableWithArgs<Void> getRowInserted(); void setCellInserted(CallableWithArgs<Void> cellInserted); void setCellsRemoved(CallableWithArgs<Void> cellsRemoved); void setCellUpdated(CallableWithArgs<Void> cellUpdated); void setRowHeightChanged(CallableWithArgs<Void> rowHeightChanged); void setRowHighlightedChanged(CallableWithArgs<Void> rowHighlightedChanged); void setColumnInserted(CallableWithArgs<Void> columnInserted); void setColumnsRemoved(CallableWithArgs<Void> columnsRemoved); void setColumnWidthChanged(CallableWithArgs<Void> columnWidthChanged); void setColumnHighlightedChanged(CallableWithArgs<Void> columnHighlightedChanged); void setRowsRemoved(CallableWithArgs<Void> rowsRemoved); void setRowInserted(CallableWithArgs<Void> rowInserted); void cellInserted(org.apache.pivot.wtk.TablePane.Row arg0, int arg1); void cellsRemoved(org.apache.pivot.wtk.TablePane.Row arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2); void cellUpdated(org.apache.pivot.wtk.TablePane.Row arg0, int arg1, org.apache.pivot.wtk.Component arg2); void rowHeightChanged(org.apache.pivot.wtk.TablePane.Row arg0, int arg1, boolean arg2); void rowHighlightedChanged(org.apache.pivot.wtk.TablePane.Row arg0); void columnInserted(org.apache.pivot.wtk.TablePane arg0, int arg1); void columnsRemoved(org.apache.pivot.wtk.TablePane arg0, int arg1, org.apache.pivot.collections.Sequence<TablePane.Column> arg2); void columnWidthChanged(org.apache.pivot.wtk.TablePane.Column arg0, int arg1, boolean arg2); void columnHighlightedChanged(org.apache.pivot.wtk.TablePane.Column arg0); void rowsRemoved(org.apache.pivot.wtk.TablePane arg0, int arg1, org.apache.pivot.collections.Sequence<TablePane.Row> arg2); void rowInserted(org.apache.pivot.wtk.TablePane arg0, int arg1);  }### Answer:
@Test public void testRowHighlightedChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getRowHighlightedChanged()); adapter.rowHighlightedChanged(null); assertFalse(invoked[0]); adapter.setRowHighlightedChanged(callable); adapter.rowHighlightedChanged(null); assertTrue(invoked[0]); }