Пример #1
0
        public static void GetBooleanValue(string key, string value, bool expected)
        {
            var config = new Configuration();

            Assert.NotNull(config);

            config.SetValue(key, value);

            object configValue = config.GetBoolean(key);

            Assert.NotNull(configValue);
            Assert.IsType <bool>(configValue);
            Assert.Equal(expected, configValue);
        }