saveAs( OUTPUT_FILE1_WITH_EMPTY_PROPS ); assertTrue( compareTextFile( GOLDEN_FILE1_WITH_EMPTY_PROPS, OUTPUT_FILE1_WITH_EMPTY_PROPS ) );
save( ); assertTrue( compareTextFile( GOLDEN_FILE1_WITH_EMPTY_PROPS ) );
	public void testUpdateROMDataSourceWithODADataSource( ) throws Exception	{		openDesign( INPUT_FILE_WITH_EMPTY_PROPS );		OdaDataSourceHandle sourceHandle = (OdaDataSourceHandle) designHandle				.findDataSource( "myDataSource1" ); //$NON-NLS-1$		DataSourceDesign sourceDesign = createDataSourceDesign( );		new ModelOdaAdapter( ).updateDataSourceHandle( sourceDesign,				sourceHandle );		assertTrue( designHandle.getCommandStack( ).canUndo( ) );		assertFalse( designHandle.getCommandStack( ).canRedo( ) );		designHandle.getCommandStack( ).undo( );		assertFalse( designHandle.getCommandStack( ).canUndo( ) );		assertTrue( designHandle.getCommandStack( ).canRedo( ) );		saveAs( OUTPUT_FILE_WITH_EMPTY_PROPS );		assertTrue( compareTextFile( GOLDEN_FILE_WITH_EMPTY_PROPS,				OUTPUT_FILE_WITH_EMPTY_PROPS ) );		designHandle.getCommandStack( ).redo( );		saveAs( OUTPUT_FILE1_WITH_EMPTY_PROPS );		assertTrue( compareTextFile( GOLDEN_FILE1_WITH_EMPTY_PROPS,				OUTPUT_FILE1_WITH_EMPTY_PROPS ) );	}