Bumblebee.IntegrationTests.Implementation.RadioButtonTests.Given_option_exists_by_text_When_checking_if_selected_Then_returns_expected C# (CSharp) Метод

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

private Given_option_exists_by_text_When_checking_if_selected_Then_returns_expected ( string text, bool expected ) : void
text string
expected bool
Результат void
		public void Given_option_exists_by_text_When_checking_if_selected_Then_returns_expected(string text, bool expected)
		{
			Threaded<Session>
				.CurrentBlock<RadioButtonsPage>()
				.VerifyThat(p => p.Beverages
					.Options.WithText(text)
					.First()
					.Selected
					.Should().Be(expected));
		}