public void AuthorizedTest(bool isPositive, string email, string password) { bool isSignInOk = _header.ClickToSignIn().EnterMail(email).EnterPassword(password).IsUserAuthorized(); Assert.That(isSignInOk, Is.EqualTo(isPositive), $"Sign in was {(isSignInOk ? "successfully" : "unsuccessfully")}" + " but were expected opposite"); }