public void ValidateExpectedURL() { string expectedURL = "?controller=my-account"; string actualURL = createAccount.GetURL(); actualURL.Should().Contain(expectedURL); }