public void Parse_BadUrl()
        {
            var xmlParser = new XmlParser();
            List<PodcastItem> result = xmlParser.Parse("https://dl.dropboxusercontent.com/u/128970065/Podcast/BADURL");

            Assert.AreEqual(0, result.Count);
        }
        public ActionResult Index()
        {
            ViewBag.RenderTime = System.DateTime.Now.ToString();

            var parser = new XmlParser();
            var items = parser.Parse(ConfigurationHelper.SermonPodcastUrl);

            return View(items);
        }
        public void Parse_ReturnsExpected()
        {
            var xmlParser = new XmlParser();
            List<PodcastItem> result = xmlParser.Parse("https://dl.dropboxusercontent.com/u/128970065/Podcast/CalvarySouthside.org-Podcast.xml");

            var oldestItem = result.OrderBy(x => x.PublishedDate).First();

            Assert.AreEqual("Genesis 42", oldestItem.Title);
        }