public void TestGetsCorrectChannelTitle()
        {
            string text = File.ReadAllText("rsstest.xml");

            FeedWrapper fw = new FeedWrapper(text);

            var channel = fw.GetChannel();

            Assert.AreEqual("Scott Hanselman's Blog", channel.Title);
        }
        public void TestGetsChannelItems()
        {
            string text = File.ReadAllText("rsstest.xml");

            FeedWrapper fw = new FeedWrapper(text);

            var channel = fw.GetChannel();

            Assert.AreNotEqual(0, channel.ChannelItems.Count);
        }
        public void TestCanGetAChannel()
        {
            string text = File.ReadAllText("rsstest.xml");

            FeedWrapper fw = new FeedWrapper(text);

            var channel = fw.GetChannel();

            Assert.IsNotNull(channel);
        }
        public void TestGetChannelItemWithCorrectLink()
        {
            string link = "http://feeds.hanselman.com/~/37915217/0/scotthanselman~Simultaneous-Editing-for-Visual-Studio-with-the-free-MultiEdit-extension.aspx";
            string text = File.ReadAllText("rsstest.xml");

            FeedWrapper fw = new FeedWrapper(text);

            var channel = fw.GetChannel();

            Assert.AreEqual(link, channel.ChannelItems[0].Link);
        }