assertEquals( "wrong 'current column' (2)", dataModel.getColumnCount() - 1, gridControl.getCurrentColumn() );
assertEquals( "wrong 'current row' (2)", dataModel.getRowCount() - 1, gridControl.getCurrentRow() );
// removing the last column, while the active cell is in this very last column, is expected to adjust
// the active cell
columnModel.removeColumn( columnCount - 1 );
assertEquals( "removed the last and active column, active column was not adjusted!",
columnCount - 2, gridControl.getCurrentColumn() );
// same holds for rows
dataModel.removeRow( rowCount - 1 );
assertEquals( "removed the last and active row, active row was not adjusted!",