DataSetManager.setCurrentInstance( DataSetManager.newInstance( ) );  DataSetItemModel[] columnModels = DataSetManager.getCurrentInstance( ) .getColumns( getDataSet1( ), false );  Object target = null; Object targetParent = null; String keyExp = null;    target = getCell( 2, 1 ); targetParent = getTableHandle( ); assertTrue( "test table group key expression", getTableGroup( ).getKeyExpr( ) == null ); assertTrue( "test table data set", getTableHandle( ).getDataSet( ) == null ); for ( int i = 0; i < columnModels.length; i++ ) { if ( i == 0 ) { keyExp = columnModels[i].getDataSetColumnName( ); } LayoutExtendsUtil.performInsertDataSetColumn( columnModels[i], target, targetParent ); }  assertTrue( "test table group key expression", getTableGroup( ).getKeyExpr( ).equals( keyExp ) ); assertTrue( "test table data set", getTableHandle( ).getDataSet( ) == getDataSet1( ) );   target = new ListBandProxy( getListGroup( ).getSlot( ListGroup.HEADER_SLOT ) ); targetParent = getListHandle( ); assertTrue( "test list group key expression", getListGroup( ).getKeyExpr( ) == null ); assertTrue( "test list data set", getListHandle( ).getDataSet( ) == null ); for ( int i = 0; i < columnModels.length; i++ ) { if ( i == 0 ) { keyExp = columnModels[i].getDataSetColumnName( ); } LayoutExtendsUtil.performInsertDataSetColumn( columnModels[i], target, targetParent ); }  assertTrue( "test list group key expression", getListGroup( ).getKeyExpr( ).equals( keyExp ) ); assertTrue( "test list data set", getListHandle( ).getDataSet( ) == getDataSet1( ) );
	public void testPerformInsertDataSetColumn( ) throws SemanticException	{		DataSetManager.setCurrentInstance( DataSetManager.newInstance( ) );		DataSetItemModel[] columnModels = DataSetManager.getCurrentInstance( )				.getColumns( getDataSet1( ), false );		Object target = null;		Object targetParent = null;		String keyExp = null;		//Test GroupKeySetRule		//Test table group		target = getCell( 2, 1 );		targetParent = getTableHandle( );		assertTrue( "test table group key expression",				getTableGroup( ).getKeyExpr( ) == null );		assertTrue( "test table data set",				getTableHandle( ).getDataSet( ) == null );		for ( int i = 0; i < columnModels.length; i++ )		{			if ( i == 0 )			{				keyExp = columnModels[i].getDataSetColumnName( );			}			LayoutExtendsUtil.performInsertDataSetColumn( columnModels[i],					target,					targetParent );		}		assertTrue( "test table group key expression",				getTableGroup( ).getKeyExpr( ).equals( keyExp ) );		assertTrue( "test table data set",				getTableHandle( ).getDataSet( ) == getDataSet1( ) );		//Test list group		target = new ListBandProxy( getListGroup( ).getSlot( ListGroup.HEADER_SLOT ) );		targetParent = getListHandle( );		assertTrue( "test list group key expression",				getListGroup( ).getKeyExpr( ) == null );		assertTrue( "test list data set",				getListHandle( ).getDataSet( ) == null );		for ( int i = 0; i < columnModels.length; i++ )		{			if ( i == 0 )			{				keyExp = columnModels[i].getDataSetColumnName( );			}			LayoutExtendsUtil.performInsertDataSetColumn( columnModels[i],					target,					targetParent );		}		assertTrue( "test list group key expression",				getListGroup( ).getKeyExpr( ).equals( keyExp ) );		assertTrue( "test list data set",				getListHandle( ).getDataSet( ) == getDataSet1( ) );	}