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
assertFalse( as.canRedo( ) );
		assertTrue( as.canUndo( ) );
		as.undo( );
		assertTrue( container.getSlot( 0 ).getCount( ) == 1 );
		
		DesignElement content2 = new FreeForm( );
		containerHandle.getSlot( 0 ).add( content2.getHandle( design ), 0 );
		assertTrue( container.getSlot( 0 ).getCount( ) == 2 );
		assertEquals( content2, container.getSlot( 0 ).getContent( 0 ) );
		
		DesignElement content3 = new FreeForm( );
		containerHandle.getSlot( 0 ).add( content3.getHandle( design ), 10 );
		assertTrue( container.getSlot( 0 ).getCount( ) == 3 );
		assertEquals( content3, container.getSlot( 0 ).getContent( 2 ) );
		DesignElement content4 = new FreeForm( );
		containerHandle.getSlot( 0 ).add( content4.getHandle( design ), 1 );
		assertTrue( container.getSlot( 0 ).getCount( ) == 4 );
		assertEquals( content2, container.getSlot( 0 ).getContent( 0 ) );
		assertEquals( content4, container.getSlot( 0 ).getContent( 1 ) );
		assertEquals( contentHandle.getElement( ), container.getSlot( 0 )
				.getContent( 2 ) );
		assertEquals( content3, container.getSlot( 0 ).getContent( 3 ) );
	}
	/**
	 * Test method 'remove'.
	 * <p>
	 * Test Case:
	 * <ul>
	 * <li>Normal case