assertNotNull( "grid control model does not provide XPropertySet interface", m_gridControlModel );
// ensure that the model has default column/data models
m_columnModel = UnoRuntime.queryInterface( XGridColumnModel.class, m_gridControlModel.getPropertyValue( "ColumnModel" ) );
assertNotNull( "the control model is expected to have an initial column model", m_columnModel );
final XGridDataModel dataModel = UnoRuntime.queryInterface( XGridDataModel.class, m_gridControlModel.getPropertyValue( "GridDataModel" ) );
assertNotNull( "the control model is expected to have an initial data model", dataModel );
m_dataModel = UnoRuntime.queryInterface( XSortableMutableGridDataModel.class,
dataModel );
assertNotNull( "the out-of-the-box data model should be mutable and sortable", m_dataModel );
}