@Test
public void testGetRowData() {

    boolean caught = false;
    arrangeableModel.setRowKey(null);
    try {
        arrangeableModel.getRowData();
    } catch (IllegalArgumentException e) {
        caught = true;
    } finally {
        Assert.assertTrue(caught);
    }
    arrangeableModel.setRowKey(ROW_KEY);
    Assert.assertEquals(arrangeableModel.getRowData(), extendedDataModel.getRowData());
    caught = false;
    arrangeableModel.setRowKey(extendedDataModel.getRowCount());
    try {
        arrangeableModel.getRowData();
    } catch (IllegalArgumentException e) {
        caught = true;
    } finally {
        Assert.assertTrue(caught);
    }
}