public void WhenHashingPasswordThenValidPasswordIsMatched(string password)
        {
            // Arrange
            IPasswordWithSaltHasher passwordHasher = new PasswordWithSaltHasherSha512();

            // Act
            HashWithSaltResult hashResult = passwordHasher.HashPassword(password);
            bool isMatched = passwordHasher.CheckPassword(password, hashResult.Hash, hashResult.Salt);

            // Assert
            Assert.AreEqual(true, isMatched);
        }
        public void WhenHashingPasswordThenWrongPasswordIsUnmatched(string password)
        {
            // Arrange
            IPasswordWithSaltHasher passwordHasher = new PasswordWithSaltHasherSha512();
            string wrongPassword = password + "wrong";

            // Act
            HashWithSaltResult hashResult = passwordHasher.HashPassword(password);
            bool isMatched = passwordHasher.CheckPassword(wrongPassword, hashResult.Hash, hashResult.Salt);

            // Assert
            Assert.AreEqual(false, isMatched);
        }