natTable.doCommand(new RowReorderCommand(viewportLayer, 4, 1));
natTable.doCommand(new RowReorderCommand(viewportLayer, 4, 2));
natTable.doCommand(new RowReorderCommand(viewportLayer, 4, 3));
// hide row at position 2: 0 1 3 4
natTable.doCommand(new RowHideCommand(viewportLayer, 2));
assertEquals(4, viewportLayer.getRowCount());
assertEquals(4, viewportLayer.getRowIndexByPosition(0));
assertEquals(3, viewportLayer.getRowIndexByPosition(1));