Exemplo n.º 1
0
 protected ApiFixture()
 {
     webAppFactory = new WebAppFactory <TStartup>(RegisterDependencies, ConfigureWebHost);
     httpClient    = new Lazy <HttpClient>(() => webAppFactory.CreateClient());
 }
Exemplo n.º 2
0
        public ApiFixture()
        {
            var webAppFactory = new WebAppFactory <TStartup>(RegisterDependencies, ConfigureWebHost);

            httpClient = webAppFactory.CreateClient();
        }