public void AddInfoActuator_IWebHostBuilder_WithTypes()
        {
            var hostBuilder = new WebHostBuilder().Configure((b) => { });

            var host = hostBuilder.AddInfoActuator(new IInfoContributor[] { new AppSettingsInfoContributor(new ConfigurationBuilder().Build()) }).Build();
            var managementEndpoint = host.Services.GetServices <InfoEndpoint>();
            var filter             = host.Services.GetServices <IStartupFilter>().FirstOrDefault();

            Assert.Single(managementEndpoint);
            Assert.NotNull(filter);
            Assert.IsType <AllActuatorsStartupFilter>(filter);
        }
        public void AddInfoActuator_IWebHostBuilder()
        {
            var hostBuilder = new WebHostBuilder().Configure((b) => { });

            var host = hostBuilder.AddInfoActuator().Build();
            var managementEndpoint = host.Services.GetServices <InfoEndpoint>();
            var filter             = host.Services.GetServices <IStartupFilter>().FirstOrDefault();

            Assert.Single(managementEndpoint);
            Assert.NotNull(filter);
            Assert.IsType <AllActuatorsStartupFilter>(filter);
        }