public void When_prompt_button_clicked_Then_prompt_dialog_pops_up_and_ok_button_sets_result_to_entered_text()
{
Threaded<Session>
.CurrentBlock<DialogPage>()
.VerifyThat(x => x.ConfirmResult.Should().Be("Not Clicked"))
.PromptButton.Click()
.VerifyThat(x => x.Text.Should().Be("prompt"))
.EnterText("The Text")
.Accept<DialogPage>()
.VerifyThat(x => x.PromptResult.Should().Be("The Text"));
}