public void GetConfig_ReturnsObjectOfRelevantType()
        {
            var configProvider = new ConfigEnvProvider();
            var config         = configProvider.GetConfig();

            Assert.IsType <GrafanaProxyConfiguration>(config);
        }
        public void GetConfig_NotThrowsException()
        {
            var configProvider = new ConfigEnvProvider();
            var config         = configProvider.GetConfig();

            Assert.True(true);
        }
        public void GetConfig_ReturnsRealValueFromEnv()
        {
            // Set ENV variable value first
            var varVal = "some_val";

            Environment.SetEnvironmentVariable("GRAFANA_BASE_URL", varVal);
            var configProvider = new ConfigEnvProvider();
            var config         = configProvider.GetConfig();

            Assert.Equal(varVal, config.BaseUrl);
        }