Bug 188829 Move the item ,the trans of the model don't close.
1:New report design. 2:Add a Embedded image. 3:Add another imge , then drag the second imge to the first position. 4:Change the size of the first image. Expected: Image change the size. Now: Image size don't change.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/command/ContentCommandTest.java
*             if any exception
	 */
	public void testNormalCaseUndoAndRedo( ) throws Exception
	{
		DesignElementHandle contentHandle = factory.newFreeForm( null );
		ActivityStack as = design.getActivityStack( );
		containerHandle.getSlot( 0 ).add( contentHandle );
		Object obj = container.getSlot( 0 ).getContent( 0 );
		assertEquals( contentHandle.getElement( ), obj );
		
		assertEquals( container, contentHandle.getContainer( ) );
		
		assertFalse( as.canRedo( ) );
		assertTrue( as.canUndo( ) );
		as.undo( );
		assertEquals( 0, container.getSlot( 0 ).getCount( ) );
		
		assertTrue( as.canRedo( ) );
		as.redo( );
		obj = container.getSlot( 0 ).getContent( 0 );
		assertEquals( contentHandle.getElement( ), obj );
		containerHandle.getSlot( 0 ).dropAndClear( 0 );
		assertTrue( container.getSlot( 0 ).getCount( ) == 0 );
		
		assertNull( contentHandle.getContainer( ) );
		
		assertFalse( as.canRedo( ) );
		assertTrue( as.canUndo( ) );
		as.undo( );
		assertTrue( container.getSlot( 0 ).getCount( ) == 1 );