public void CanUpdateFormFromXml() { //asign var formManager = new FormManager(new Panel()); ////action formManager.GenerateFormFromXsdFile("DocumentumArchivageSettings.xsd"); formManager.UpdateFormFromXml("DocumentumArchivageSettings.xml"); //assert }
public void CanUseSaveFormToXmlFile() { //asign var formManager = new FormManager(new Panel()); var stream = new MemoryStream(); //action formManager.GenerateFormFromXsdFile("DocumentumArchivageSettings.xsd"); formManager.UpdateFormFromXml("DocumentumArchivageSettings.xml"); formManager.SaveFormToXmlFile(stream); //assert }