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