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
* </ul>
	 * 
	 * 
	 * @throws Exception
	 *             if any exception
	 */
	public void testMoveWrongType( ) throws Exception
	{
		StyleHandle styleHandle = this.factory.newStyle( "style1" ); 
		this.designHandle.getStyles( ).add( styleHandle );
		
		 is
		
		 1
		try
		{
			designHandle.getStyles( ).move( styleHandle, designHandle,
					ReportDesign.BODY_SLOT );
			fail( );
		}
		catch ( ContentException e )
		{
			assertEquals( ContentException.DESIGN_EXCEPTION_WRONG_TYPE, e
					.getErrorCode( ) );
		}
		 2
		designHandle.getMasterPages( ).add(
				factory.newSimpleMasterPage( "page2" ) ); 
		assertEquals( 2, designHandle.getMasterPages( ).getCount( ) );
		assertNotNull( designHandle.findMasterPage( "page2" ) );