public bool Verify(string accountId, string password, string otp)
        {
            var passwordFromDb = _profile.GetPassword(accountId);

            var hashedPassword = _hash.GetHash(password);

            var currentOtp = _optService.Get(accountId);

            var isValid = passwordFromDb.Equals(hashedPassword, StringComparison.OrdinalIgnoreCase) &&
                          currentOtp.Equals(otp, StringComparison.OrdinalIgnoreCase);

            return(isValid);
        }
 private void GivenOtp(string defaultAccountId, string defaultOtp)
 {
     _optService.Get(defaultAccountId).ReturnsForAnyArgs(defaultOtp);
 }