Bumblebee.Examples.Web.IntegrationTests.RedditTests.given_logged_out_when_at_front_page_then_posts_should_not_contain_selenium C# (CSharp) Метод

given_logged_out_when_at_front_page_then_posts_should_not_contain_selenium() приватный Метод

		public void given_logged_out_when_at_front_page_then_posts_should_not_contain_selenium()
		{
			Threaded<Session>
				.CurrentBlock<LoggedOutPage>()
				.VerifyThat(page =>
					page.Posts.Any(post =>
						post.Subreddit.Text.Contains("selenium"))
						.Should().BeFalse("there should be no selenium subreddit posts on the front page"));
		}