public async Task WhenGetNewsAsyncCalled_GetValues() { //Prepare GamesNewsService service = new GamesNewsService(); // Act Article[] result = await service.GetNewsAsync(new string[] { "Diablo" }); Article[] result2 = await service.GetNewsAsync(new string[] { "Faked" }); Article[] result3 = await service.GetNewsAsync(null); //Verify Assert.IsNotNull(result[0].ArticleType); Assert.IsNotNull(result[0].Content); Assert.IsNotNull(result[0].Keywords); Assert.IsNotNull(result[0].Title); Assert.AreEqual(0, result2.Length); Assert.IsNull(result3); }