예제 #1
0
        public void works_rss_feed_link()
        {
            var feed = new AmazonFeed();

            var result = feed.GetRawFeed(AmazonFeedTypes.EBook);

            Assert.IsTrue(!string.IsNullOrEmpty(result));
        }
예제 #2
0
        public void parser_grabs_correct_regex_works_rss_feed_link()
        {
            var feed   = new AmazonFeed();
            var parser = new AmazonFeedParser();

            var result = feed.GetRawFeed(AmazonFeedTypes.EBook);
            var parsed = parser.Parse(result);

            Assert.IsTrue(!string.IsNullOrEmpty(parsed));
        }