}
public void testGetRowIndex()
{
DataModel dModel = _createTestDataModel();
SortableModel sModel = new SortableModel(dModel);
_sort(sModel, "age", true);
dModel.setRowIndex(2); //Zach
assertTrue(sModel.getRowIndex() == 1);
dModel.setRowIndex(0); //Tracy
assertTrue(sModel.getRowIndex() == 0);
dModel.setRowIndex(1); //Anne
assertTrue(sModel.getRowIndex() == 2);
}