using System.Net.Http; using Xunit; namespace Bootstrap.Admin { [Collection("SQLServerContext")] public class ControllerTest { protected HttpClient Client { get; set; } protected BAWebHost Host { get; set; } /// /// /// /// /// public ControllerTest(BAWebHost factory, string baseAddress = "api") { Host = factory; Client = factory.CreateClient(baseAddress); } } }