designHandle.saveAs(PLUGIN_PATH + getClassFolder() + INPUT_FOLDER + "SavedReport.xml");
designHandle.saveAs(getClassFolder() + INPUT_FOLDER + "SavedReport.xml");
	public void testMoveLibrary( ) throws Exception	{		openDesign(fileName);		designHandle.includeLibrary( LibD, "LibD" );		LibraryHandle libHandle = designHandle.getLibrary( "LibD" );				TextItemHandle textLibHandle = (TextItemHandle)libHandle.findElement( "text1" );		assertNotNull("Text should not be null", textLibHandle);		DataItemHandle dataLibHandle = (DataItemHandle)libHandle.findElement( "data1" );		assertNotNull("Data should not be null", dataLibHandle);	//  SharedStyleHandle styleLibHandle = (SharedStyleHandle)libHandle.findStyle( "style1" );	//	assertNotNull("Style should not be null", styleLibHandle);				TextItemHandle textHandle = (TextItemHandle)designHandle.getElementFactory().newElementFrom( textLibHandle, "text1" );		DataItemHandle dataHandle = (DataItemHandle)designHandle.getElementFactory().newElementFrom( dataLibHandle, "data1" );	//	StyleHandle styleHandle = (StyleHandle)designHandle.getElementFactory().newStyle( "style1" );				designHandle.getBody().add( dataHandle );		designHandle.getBody().add( textHandle );		//designHandle.getStyles().add( styleHandle );						assertEquals( "yellow" , dataHandle.getExtends().getStringProperty("backgroundColor"));		assertEquals( "red" , textHandle.getExtends().getStringProperty("backgroundColor"));				File deleteLibD = new File(LibD);		deleteLibD.delete();		designHandle.saveAs(PLUGIN_PATH + getClassFolder() + INPUT_FOLDER + "SavedReport.xml");				openDesign("SavedReport.xml");		assertNotNull((TextItemHandle)designHandle.findElement("text1"));		assertNotNull((DataItemHandle)designHandle.findElement("data1"));	    assertEquals( null , ((TextItemHandle)designHandle.findElement("text1")).getStringProperty("backgroundColor"));		assertEquals( null , ((DataItemHandle)designHandle.findElement("data1")).getStringProperty("backgroundColor"));	}