示例#1
0
        public void ThenIShouldSeeListedArticlesOnPage(Table table)
        {
            var articleTitles   = bBCSiteFacade.GetFirstNewsTitles();
            var expectedResults = table.CreateSet <Article>();

            foreach (var expectedResult in expectedResults)
            {
                Assert.IsTrue(articleTitles.Any(at => at.Contains(expectedResult.Title)));
            }
        }
示例#2
0
 public void ThenIShouldSeeTopArticlesBlock()
 {
     BBCSiteFacade.GetFirstNewsTitles();
 }