public async Task CanFindByUsername() { AccountsClient client = new AccountsClient(GrpcChannel);//_serviceProvider.GetRequiredService<AccountsClient>(); Assert.NotNull(client); FindUserResponse response = await client.FindByUserNameAsync(new StringInputParameter() { Value = "mickeymouse" }); // UserManager is NOT case sensitive! Assert.NotNull(response); Assert.NotNull(response.Response); Assert.True(response.Response.Success); Assert.Empty(response.Response.Errors); Assert.False(string.IsNullOrEmpty(response.Id)); Assert.Equal("41532945-599e-4910-9599-0e7402017fbe", response.Id); }