예제 #1
0
        public void Parse_ReadXml_FirstSongCorrectCreator()
        {
            string xml = LoadXML();

            DidlParser parser = new DidlParser();

            var result = parser.Parse(xml);

            Assert.Equal("Shockerz ft. Kirsten", result[0].Creator);
        }
예제 #2
0
        public void Parse_ReadXml_ShouldContainTenItems()
        {
            string xml = LoadXML();

            DidlParser parser = new DidlParser();

            var result = parser.Parse(xml);

            Assert.Equal(36, result.Count);
        }