Beispiel #1
0
        public async void GetArticleDetailsForCollectionShouldReturnArticles()
        {
            //Arrange
            IList <Article> articles = await _articleController.GetSectionArticlesAsync(_articleController.Sections[0]);

            //Act
            articles = await _articleController.GetArticleDetailsForCollectionAsync(articles);

            //Assert
            Assert.IsNotEmpty(articles);
            Assert.IsNotNull(articles[0].bodyText);
        }