private Given_option_exists_by_text_When_checking_if_selected_Then_returns_expected ( string text, bool expected ) : void | ||
text | string | |
expected | bool | |
return | 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));
}