Esempio n. 1
0
        public async void GetArticlesAndDetailsForSectionShouldReturnSectionWithArticles()
        {
            //Act
            IList <Article> articles = await _articleController.GetArticlesAndDetailsForSectionAsync(_articleController.Sections[0]);

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