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