Exemple #1
0
        public void CanPageThroughResults()
        {
            var agg = new BingNews();
            var q   = agg.SearchAsync("China", count: 361).Result;

            Assert.NotEmpty(q);
        }
Exemple #2
0
        public void CanConstructClient()
        {
            BingNews b = new BingNews();

            Assert.NotNull(b);
            Assert.True(b.Initialized);
            var q = b.SearchAsync("Donald Trump").Result;

            Assert.NotEmpty(q);
        }