namespace Persistence.IntegrationTests { public class TestHttpClientFactory : IHttpClientFactory { private readonly WebAppFactoryFixture factory; public TestHttpClientFactory(WebAppFactoryFixture factory) { this.factory = factory; } public HttpClient CreateClient(string name) { return factory.CreateClient(); } } }