public async Task GetNewsAsync()
        {
            // Arrange

            // Act
            var result = await client.GetNewsAsync();

            // Assert
            result.ShouldNotBeNull();
            result.Blogs.Length.ShouldBe(5);
        }
Exemple #2
0
        public async Task <NewsResponse> GetNewsAsync()
        {
            var news = await _owlApiService.GetNewsAsync();

            return(news);
        }