public void SetSetting_GetAllSettings()
        {
            ISettingsStorageProviderV40 prov = GetProvider();

            //Collectors.SettingsProvider = prov;

            Assert.IsTrue(prov.SetSetting("TS1", "Value1"), "SetSetting should return true");
            Assert.IsTrue(prov.SetSetting("TS2", "Value2"), "SetSetting should return true");
            Assert.IsTrue(prov.SetSetting("TS3", "Value3"), "SetSetting should return true");

            IDictionary <string, string> settings = prov.GetAllSettings();

            Assert.AreEqual(3, settings.Count, "Wrong setting count");
            Assert.AreEqual("Value1", settings["TS1"], "Wrong setting value");
            Assert.AreEqual("Value2", settings["TS2"], "Wrong setting value");
            Assert.AreEqual("Value3", settings["TS3"], "Wrong setting value");
        }
        public void SetSetting_GetSetting(string c, string r)
        {
            ISettingsStorageProviderV40 prov = GetProvider();

            //Collectors.SettingsProvider = prov;

            Assert.IsTrue(prov.SetSetting("TS", c), "SetSetting should return true");
            Assert.AreEqual(r, prov.GetSetting("TS"), "Wrong return value");
        }
        public void SetSetting_InvalidName(string n)
        {
            ISettingsStorageProviderV40 prov = GetProvider();

            prov.SetSetting(n, "blah");
        }