public void AddKubernetesConfiguration_WebHostBuilder_AddsConfig()
        {
            using var server = new MockKubeApiServer();
            var hostBuilder = new WebHostBuilder().UseStartup <TestServerStartup>();

            hostBuilder.AddKubernetesConfiguration(GetFakeClientSetup(server.Uri.ToString()));
            var serviceProvider = hostBuilder.Build().Services;
            var config          = serviceProvider.GetServices <IConfiguration>().SingleOrDefault() as ConfigurationRoot;
            var appInfo         = serviceProvider.GetServices <IApplicationInstanceInfo>().SingleOrDefault();

            Assert.True(config.Providers.Where(ics => ics.GetType().IsAssignableFrom(typeof(KubernetesConfigMapProvider))).Count() == 2);
            Assert.True(config.Providers.Where(ics => ics.GetType().IsAssignableFrom(typeof(KubernetesSecretProvider))).Count() == 2);
            Assert.IsAssignableFrom <KubernetesApplicationOptions>(appInfo);
        }