public void SaveWriteAndRetrieveSingularValueTest()
        {
            ConfigManipulator target        = new ConfigManipulator(testAppConfigPath);
            string            currentServer = target.GetValue("Server");

            target.SaveValue("Server", currentServer + "a");
            target.WriteConfig(testAppConfigPath);

            Assert.AreEqual(target.GetValue("Server"), currentServer + "a");
        }
        public void GetSingularValueTest()
        {
            // pull up the config file the old fashioned way ;)
            XmlDocument x = new XmlDocument();

            x.Load(testAppConfigPath);
            string currentServer = x.SelectSingleNode("configuration/appSettings/add[@key='Server']").Attributes["value"].Value;

            ConfigManipulator target = new ConfigManipulator(testAppConfigPath);

            Assert.AreEqual(currentServer, target.GetValue("Server"));
        }