Centroid.Tests.ConfigTest.test_environment_specific_config_no_environment_property_if_has_environment_config_json C# (CSharp) Method

test_environment_specific_config_no_environment_property_if_has_environment_config_json() private method

        public void test_environment_specific_config_no_environment_property_if_has_environment_config_json()
        {
            var config = new Config(@"{""Prod"": {""Environment"": ""production!""}, ""All"": {""Shared"": ""none""}}");
            dynamic environmentConfig = config.ForEnvironment("Prod");
            var env = environmentConfig.environment;
            Assert.That(environmentConfig.environment, Is.EqualTo("production!"));
        }