table.setCellValueAt(0,0,"Item 0,0");
Element cellElem0 = table.getCellElementAt(0,0);
Element cellElem1 = table.getCellElementAt(1,0);
Element cellElem2 = table.getCellElementAt(2,0);
table.moveRow(0,1,1); // Desplaza las dos primeras filas a ser las dos finales
TestUtil.checkError(table.getCellElementAt(0,0) == cellElem2);
TestUtil.checkError(table.getCellElementAt(1,0) == cellElem0);
TestUtil.checkError(table.getCellElementAt(2,0) == cellElem1);
table.moveRow(1,2,0); // Las deja como estaba
TestUtil.checkError(table.getCellElementAt(0,0) == cellElem0);