internal static void GenXMLChained()
 {
     XMLEditor xmlEditor = new XMLEditor(ConfigurationManager.AppSettings["assemblyLocation"] + "\\testFiles\\ChainedImportFile\\GenericXML_Chained_.xml");
     xmlEditor.EditTradeNode("uniqueTransactionIdentifier", "uniqueTransactionIdentifier", Test.UTI, "http://www.acer.europa.eu/REMIT/REMITTable1_V1.xsd");
     xmlEditor.EditTradeNode("uniqueOrderIdentifier", Test.UTI, "http://www.acer.europa.eu/REMIT/REMITTable1_V1.xsd");
     xmlEditor.SaveXML("Trade");
 }
 internal static void GenXML()
 {
     XMLEditor xmlEditor = new XMLEditor(ConfigurationManager.AppSettings["assemblyLocation"] + "\\testFiles\\Trades\\GenXML\\GenericXML_Client_Direct_Boris_1_Coll.xml");
     xmlEditor.EditTradeNode("SourceTradeID", Test.STI, "http://www.impendiumsystems.com/2012/emirreporting");
     xmlEditor.EditTradeNode("UniqueTradeID", Test.UTI, "http://www.impendiumsystems.com/2012/emirreporting");
     xmlEditor.EditTradeNode("TransactionReferenceNumber", Test.tradeID, "http://www.impendiumsystems.com/2012/emirreporting");
     xmlEditor.SaveXML("");
 }
 internal static void Collateral_GenXML_ByPortfolioCode()
 {
     XMLEditor xmlEditor = new XMLEditor(ConfigurationManager.AppSettings["assemblyLocation"] + "\\testFiles\\Collateral\\GenXML\\EMIRCollateral_PortfolioCode.xml");
     xmlEditor.EditCollateralNode("CollateralDate", Test.testdate);
     xmlEditor.EditCollateralNode("CollateralValue", "6464");
     xmlEditor.EditCollateralNode("CollateralCounterparty", Test.counterParty);
     xmlEditor.SaveXML("");
 }
 internal static void Collateral_GenXML_NonDelegated()
 {
     XMLEditor xmlEditor = new XMLEditor(ConfigurationManager.AppSettings["assemblyLocation"] + "\\testFiles\\Collateral\\GenXML\\EMIRCollateral_UTI.xml");
      xmlEditor.EditCollateralNode("CollateralDate", Test.testdate);
      xmlEditor.EditCollateralNode("CollateralValue", "6464");
      xmlEditor.EditCollateralNode("SourceTradeID", Test.STI);
      xmlEditor.EditCollateralNode("UniqueTradeID", Test.UTI);
      xmlEditor.EditCollateralNode("CollateralCounterparty", Test.counterParty);
      xmlEditor.SaveXML("");
 }
 internal static void Product_GenericXML()
 {
     XMLEditor xmlEditor = new XMLEditor(ConfigurationManager.AppSettings["assemblyLocation"] + "\\testFiles\\Products\\GenXML\\GenericXMLimportProduct.xml");
      xmlEditor.EditProductNode("Name", Test.extRef = "TA" + Util.GetRandomID());
      xmlEditor.EditProductNode("ISIN", Test.extRef);
      xmlEditor.SaveXML("");
 }
 internal static void CreateDuplicateImportFileGenXML()
 {
     XMLEditor xmlEditor = new XMLEditor(Test.absolutePathToImportFile);
      Test.absolutePathToImportFile = Test.absolutePathToImportFile.Remove(Test.absolutePathToImportFile.Length - 6) + ".xml";
      xmlEditor.SaveAs(Test.absolutePathToImportFile);
 }
 internal static void Valuation_GenXML_Delegated()
 {
     XMLEditor xmlEditor = new XMLEditor(ConfigurationManager.AppSettings["assemblyLocation"] + "\\testFiles\\Valuation\\GenXML\\Regis_ETD_DelegatedValuation.xml");
      xmlEditor.EditValuationNode("SourceTradeID", Test.STI);
      xmlEditor.EditValuationNode("UniqueTradeID", Test.UTI);
      xmlEditor.EditValuationNode("ValuationDate", Test.testdate);
      xmlEditor.EditValuationNode("ValuationCounterparty", Test.counterPartyDelegated);
      xmlEditor.SaveXML("");
 }
 internal static void Valuation_GenXML()
 {
     XMLEditor xmlEditor = new XMLEditor(ConfigurationManager.AppSettings["testFilesLocation"] + "\\Valuation\\GenXML\\Boris_DTCC_ETD_Valuation.xml");
     xmlEditor.EditValuationNode("SourceTradeID", Test.STI);
     xmlEditor.EditValuationNode("UniqueTradeID", Test.UTI);
     xmlEditor.EditValuationNode("ValuationDate", Test.testdate);
     xmlEditor.EditValuationNode("ValuationCounterparty", Test.counterParty);
     xmlEditor.SaveXML("");
 }
 internal static void GenXMLOrder()
 {
     XMLEditor xmlEditor = new XMLEditor(ConfigurationManager.AppSettings["assemblyLocation"] + "\\testFiles\\Orders\\GenXML\\GenericXML_Order_.xml");
     xmlEditor.EditTradeNode("uniqueOrderIdentifier", Test.UTI, "http://www.acer.europa.eu/REMIT/REMITTable1_V1.xsd");
     xmlEditor.SaveXML("Order");
 }