public void GivenGetXmlElement_WhenEmailContainsValidXml_ThenValueIsReturned(string fileName, string elementName, string nodePath, string expected)
        {
            string     textFromFile = File.ReadAllText(fileName);
            XmlElement xml          = new XmlExtractor(textFromFile).GetXmlElement(elementName);
            var        node         = xml.SelectSingleNode(nodePath);

            Assert.Equal(expected, node.Value);
        }
        public void GivenGetXmlElement_WhenTextContainsValidXml_ThenValueIsReturned(string text, string elementName, string nodePath, string expected)
        {
            XmlElement xml  = new XmlExtractor(text).GetXmlElement(elementName);
            var        node = xml.SelectSingleNode(nodePath);

            output.WriteLine($"Result {node.FirstChild.Value}");
            Assert.Equal(expected, node.FirstChild.Value);
        }