BumblebeeExample.Tests.WebTests.RedditTests.VerifyObviousThings C# (CSharp) Method

VerifyObviousThings() private method

private VerifyObviousThings ( ) : void
return void
        public void VerifyObviousThings()
        {
            Session.CurrentBlock<LoggedOutPage>()
                   .Verify("that there is at least one TIL on front page",
                           page => page.Posts.Any(post => post.Subreddit.Text == "todayilearned"))
                   .Verify("there are no selenium subreddit posts on front page",
                           page => page.Posts.All(post => post.Subreddit.Text != "selenium"));
        }