Ejemplo n.º 1
0
 public IApiShould(CustomWebApplicationFactory <Startup> factory)
 {
     using var scope = InitializeContainer.InitializeTests(factory.CreateClientWithDefaultRequestHeaders()).BeginLifetimeScope();
     this.api        = scope.Resolve <IApi>();
 }