public void testSelectionChange() throws Exception {
DataSource d = ds.getDataSource("persona", DataSourceFactory.UNDOABLE);
TheSelectionListener tsl = new TheSelectionListener();
d.addSelectionListener(tsl);
d.setSelectedRows(new int[]{1,2,3});
assertTrue(tsl.counter == 1);
int[] sel = new int[]{1,2,4};
d.setSelectedRows(sel);
assertTrue(tsl.counter == 2);