public void Test_InjectElementWithTexts_ErrorPath() { Exception withAttributes = XmlOperator.InjectElementWithTexts("", _rootXPath, _targetXPath, _injectElement, _attributes); Assert.NotNull(withAttributes); TLogException(withAttributes); }
public void Test_InjectElementWithTexts() { Exception withAttributes = XmlOperator.InjectElementWithTexts(_defaultXML, _rootXPath, _targetXPath, _injectElement, _attributes); if (withAttributes != null) { TLogException(withAttributes); } Assert.Null(withAttributes); }