public void FindByEmail() { UserIdentity userIdentity = new UserIdentity(Configuration()); var result = userIdentity.FindByEmailAsync("*****@*****.**", new CancellationToken()).Result; Assert.IsNotNull(result, "user is null"); }