public void When_entering_text_Then_text_should_work() { const string expectedText = "This is the text."; Threaded<Session> .CurrentBlock<TextFieldPage>() .Text.EnterText(expectedText) .VerifyThat(x => x.Text.Text.Should().Be(expectedText)); } }