Affecto.Authentication.Passwords.Tests.PasswordTests.PasswordIsNotMatching C# (CSharp) Метод

PasswordIsNotMatching() приватный Метод

private PasswordIsNotMatching ( ) : void
Результат void
        public void PasswordIsNotMatching()
        {
            const string password = "VerySecret";
            var expectedPassword = new Password(password);
            string expectedHash = expectedPassword.Hash();

            var sut = new Password("AnotherPassword");
            PasswordMatch match = sut.MatchTo(expectedHash);

            Assert.AreEqual(PasswordMatch.Failed, match);
        }
    }