private void Given_a_application_settings_provider()
 {
     _configReader = Substitute.For<IApplicationSettings>();
     _configReader.LoadSettings().Returns(new KeyValueConfigurationCollection());
     _mapper = Substitute.For<KeyValueFeatureMapper>();
     _mapper.Map(Arg.Any<KeyValueConfigurationCollection>()).Returns(new List<Feature>(){new Feature(){Name = "Feature001", State = true}});
     _configProvider = new ApplicationSettingsSwitchProvider(_configReader, _mapper);
 }
 private static void Given_a_configuration_provider_with_toggles_configured()
 {
     _mapper = Substitute.For<KeyValueFeatureMapper>();
     _configReader = Substitute.For<IApplicationSettings>();
     _configProvider = new ApplicationSettingsSwitchProvider(_configReader, _mapper);
 }
        public IProvideSwitches Create()
        {
            var provider = new ApplicationSettingsSwitchProvider(new ApplicationSettingsReader(), new KeyValueFeatureMapper());

            return provider;
        }