public void Provided_Password_Does_Not_Match_User_Password()
        {
            string providedPassword = "******";

            string hashedProvidedPassword = PasswordEncoder.Encode(providedPassword);
            string hashedUserPassword     = PasswordEncoder.Encode(_user.Password);

            bool result = PasswordComparer.ComparePasswords(hashedProvidedPassword, hashedUserPassword);

            Assert.IsFalse(result);
        }
        public void Provided_Password_Matches_User_Password()
        {
            string providedPassword = "******";

            string hashedProvidedPassword = PasswordEncoder.Encode(providedPassword);
            string hashedUserPassword     = PasswordEncoder.Encode(_user.Password);

            bool result = PasswordComparer.ComparePasswords(hashedProvidedPassword, hashedUserPassword);

            Assert.IsTrue(result);
        }