Exemple #1
0
 public HttpClientWrapperShould(ITestOutputHelper outputHelper)
 {
     Thread.CurrentPrincipal = new GenericPrincipal(new GenericIdentity("testUser"), new[] { "testRole" });
     _httpClientFactory      = Application.Services.GetService <IHttpClientfactory>();
     _outputHelper           = outputHelper;
 }