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
libraryHandle = sessionHandle.createLibrary( );
		ElementFactory factory = libraryHandle.getElementFactory( );
		ThemeHandle newTheme = factory.newTheme( "testTheme" ); 
		libraryHandle.getThemes( ).add( newTheme );
		StyleHandle style = factory.newStyle( "style" ); 
		newTheme.addElement( style, IThemeModel.STYLES_SLOT );
		style = factory.newStyle( "style_1" ); 
		newTheme.addElement( style, IThemeModel.STYLES_SLOT );
		style = factory.newStyle( "table" ); 
		newTheme.addElement( style, IThemeModel.STYLES_SLOT );
		TableHandle table = factory.newTableItem( "testTable" ); 
		libraryHandle.getComponents( ).add( table );
		listener = new MyContentListener( );
		table.addListener( listener );
		
		style.moveTo( 0 );
		assertNull( listener.event );
		newTheme = factory.newTheme( "them_one" ); 
		libraryHandle.getThemes( ).add( newTheme );
		libraryHandle.setTheme( newTheme );
		style.moveTo( newTheme, IThemeModel.STYLES_SLOT );
		assertNotNull( listener.event );
	}
	/**
	 * Tests the move exception case. Test Case:
	 * 
	 * <ul>
	 * <li>The content is the wrong type of the 'toContainer'.
	 * <li>The toContainer's slot is full.