public void HasPasswordAsync()
        {
            var user = new UserModel()
            {
                Id = Guid.NewGuid().ToString()
            };

            repository.Setup(x => x.GetString(It.IsAny <string>(), It.IsAny <CancellationToken>(), It.IsAny <(string, object)[]>())).ReturnsAsync("test").Verifiable();
            var task = userStore.HasPasswordAsync(user, cancellationTokenSource.Token);

            task.Wait();
            Assert.IsTrue(task.Result);
            repository.Verify();
            repository.VerifyNoOtherCalls();
        }
 public void HasPasswordAsyncStoredProcExists()
 {
     try
     {
         var userModel = new UserModel()
         {
             Id                 = Guid.NewGuid().ToString(),
             UserName           = It.IsAny <string>(),
             NormalizedUserName = It.IsAny <string>(),
             PasswordHash       = It.IsAny <string>(),
             IsActive           = true,
         };
         userStoreMethodLookup.HasPasswordAsync(userModel, cancellationTokenSource.Token).Wait();
     }
     catch
     {
         Assert.Fail();
     }
 }