assertEquals( columnCount, dataModel.getColumnCount() );
assertEquals( columnCount, columnModel.getColumnCount() );
// some cursor traveling
final XGridControl gridControl = UnoRuntime.queryInterface( XGridControl.class, control );
gridControl.goToCell( 0, 0 );
assertEquals( "wrong 'current column' (1)", 0, gridControl.getCurrentColumn() );
assertEquals( "wrong 'current row' (1)", 0, gridControl.getCurrentRow() );
gridControl.goToCell( columnCount - 1, rowCount - 1 );
assertEquals( "wrong 'current column' (2)", dataModel.getColumnCount() - 1, gridControl.getCurrentColumn() );
assertEquals( "wrong 'current row' (2)", dataModel.getRowCount() - 1, gridControl.getCurrentRow() );