示例#1
0
        public void GetKLEXMLData_Returns_Valid_XML()
        {
            var sut    = new KLEDataBridge();
            var result = sut.GetAllActiveKleNumbers();
            var publishingDateXElement = result.Descendants("UdgivelsesDato");

            DateTime.Parse(publishingDateXElement.First().Value);
        }
示例#2
0
        void GetKLEXMLData_Returns_Most_Current_DataSet()
        {
            var       sut            = new KLEDataBridge();
            XDocument result         = sut.GetKLEXMLData();
            var       publishingDate = result.Element("UdgivelsesDato");

            DateTime.Parse(publishingDate.Value);
        }