public void TestCheckIfPasswordsMatch(string password1, string password2, bool expected) { var result = _testAccountCreator.CheckIfPasswordsMatch(password1, password2); Assert.Equal(result, expected); }