CopyToSaveDebugTO() public method

public CopyToSaveDebugTO ( ) : SaveDebugTO
return SaveDebugTO
 public void DebugTO_Copy_ValuesCorrect()
 {
     DebugTO to = new DebugTO();
     string rootFolder = Path.GetTempPath() + Guid.NewGuid();
     to.RememberInputs = true;
     to.BaseSaveDirectory = rootFolder;
     to.DataList = "<DataList><scalar1 ColumnIODirection=\"Input\"/><persistantscalar ColumnIODirection=\"Input\"/><rs><f1 ColumnIODirection=\"Input\"/><f2 ColumnIODirection=\"Input\"/></rs><recset><field1/><field2/></recset></DataList>";
     to.XmlData = "<DataList><scalar1>s1</scalar1><persistantscalar>SomeValue</persistantscalar><rs><f1>f1Value</f1><f2>f2Value</f2></rs><recset><field1>somedata</field1><field2>moredata</field2></recset><recset><field1></field1><field2></field2></recset></DataList>";
     to.ServiceName = "DummyService";
     to.WorkflowID = "DummyService";
     var save = to.CopyToSaveDebugTO();
     Assert.AreEqual(save.DataList,to.DataList);
     Assert.AreEqual(save.ServiceName,to.ServiceName);
     Assert.AreEqual(to.IsDebugMode,to.IsDebugMode);
     Assert.AreEqual(to.WorkflowID,to.WorkflowID);
 }