public void ApplicationSettingsAddTest() { var expected = "Unit Test Value - Add"; var actual = _settingProvider.Add <string>("Unit Test Key", expected); Assert.AreEqual(expected, actual); _settingProvider.Remove("Unit Test Key"); }
/// <summary> /// Add a setting with the specified <param name="key">key</param>. /// </summary> /// <typeparam name="T"></typeparam> /// <param name="key">The key.</param> /// <param name="value">The value.</param> /// <returns></returns> public T Add <T>(string key, string value) { return(_settingProvider.Add <T>(key, value)); }