final int selectedIndex = 4;
TestTable table = (TestTable) _createComponent();
_doDecode(table, selectedIndex);
SelectionEvent event = (SelectionEvent) table.event;
assertNotNull(event);
RowKeySet unselect = event.getRemovedSet();
RowKeySet select = event.getAddedSet();
int oldIndex = table.getRowIndex();
table.setRowIndex(_INIT_SELECTION);
assertTrue(unselect.isContained());
assertFalse(select.isContained());