public async System.Threading.Tasks.Task BingFixedResultReturnedAsync() { ISearchEngine bing = new BingSearch(); var results = await bing.GetSearchResultListAsync("test", 1); Assert.IsTrue(results.Count == 1); }
public async System.Threading.Tasks.Task BingNoResultsReturnedAsync() { ISearchEngine bing = new BingSearch(); var results = await bing.GetSearchResultListAsync("asdasdsadadfdwefvtrvrtbwohbtygfvycvwregerge", 1); Assert.IsTrue(results.Count == 0); }