Bug 194843 Cross tab Cube - Cannot delete a dimension using the cube builder
- Open the attached report design - Delete the "Region" group. Current behavior - Does now allow me to delete the group.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/command/ContentCommandTest.java
{
		DataSetHandle dataSet = factory.newOdaDataSet( "dataSet", null ); 
		DataSourceHandle dataSource = factory.newOdaDataSource(
				"dataSource", null ); 
		designHandle.getDataSets( ).add( dataSet );
		designHandle.getDataSources( ).add( dataSource );
		dataSet.setDataSource( "dataSource" ); 
		MyContentListener contentListener = new MyContentListener( );
		dataSet.addListener( contentListener );
		
		
		
		
		designHandle.getDataSets( ).drop( dataSet );
		
		assertEquals( MyContentListener.NA, contentListener.recieveChangeEvent );
		
		assertTrue( contentListener.event instanceof ElementDeletedEvent );
		dataSet.removeListener( contentListener );
		contentListener = new MyContentListener( );
		designHandle.getDataSets( ).add( dataSet );
		designHandle.getDataSources( ).drop( dataSource );
		dataSet.addListener( contentListener );
		designHandle.getDataSets( ).drop( dataSet );
		
		
		assertEquals( MyContentListener.NA, contentListener.recieveChangeEvent );
		
		assertTrue( contentListener.event instanceof ElementDeletedEvent );
	}