public void AddTraceActuator_IWebHostBuilder() { var hostBuilder = new WebHostBuilder().Configure((b) => { }); var host = hostBuilder.AddTraceActuator().Build(); var managementEndpoint = host.Services.GetServices <HttpTraceEndpoint>(); var filter = host.Services.GetServices <IStartupFilter>().FirstOrDefault(); Assert.Single(managementEndpoint); Assert.NotNull(filter); Assert.IsType <AllActuatorsStartupFilter>(filter); }