public void Given_Valid_Xml_Test_File_Inflate_NewsStory_Entity() { _newsStory = _xmlFtpDataHandler.GetNewsStory(xmlTestFile); _newsStory.Should().NotBeNull().And.BeOfType <NewsStoryXml>(); _newsStory.Id.Should().NotBeNull().And.Match(TESTID); }
public NewsStory FetchNewsStory() { return(_xmlFtpDataHandler.GetNewsStory().MapXmlDataToDto()); }