Esempio n. 1
0
 public GetJobStateEndpointTest(WebApplicationFactory <Startup> factory)
 {
     _factory = factory;
 }
        /// <summary>
        /// Initializes a new instance of <see cref="RespInfoApiClientBehavior"/>
        /// </summary>
        public RespInfoApiClientBehavior(WebApplicationFactory <Startup> webApplicationFactory, ITestOutputHelper output)
        {
            _output = output;

            _clientProvider = new DelegateHttpClientProvider(webApplicationFactory.CreateClient);
        }
 /// <summary>
 /// Initializes a new instance of <see cref="RespContentApiClientBehavior"/>
 /// </summary>
 public ApiClientFactoringBasedOnHttpClientFactoryBehavior(WebApplicationFactory <Startup> webApplicationFactory, ITestOutputHelper output)
 {
     _webApplicationFactory = webApplicationFactory;
     _output = output;
 }