예제 #1
0
        public async Task GetArticlesByTag()
        {
            var articleService = new ArticlesService(BaseUri, HttpClient);
            var articles       = await articleService.GetArticlesByTagAsync("react");

            Assert.IsNotNull(articles);
            Assert.IsTrue(articles.All(a => a.TagList.Contains("react", StringComparer.OrdinalIgnoreCase)));
        }