public void ProcessRequestTest()
 {
     HandleConfig target = new HandleConfig(); // TODO: Initialize to an appropriate value
     HttpContext context = null; // TODO: Initialize to an appropriate value
     target.ProcessRequest(context);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
        public void ConfigReaderTest()
        {
            HandleConfig target = new HandleConfig(); // TODO: Initialize to an appropriate value
            string url = string.Empty; // TODO: Initialize to an appropriate value
            string formular = string.Empty; // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual = string.Empty;
            
           
            //throw Exception
            //url = "http://{host}/[{virtualDir}]/AppInternals/Config/JSON/File";
            //actual = target.ReadConfig(url, formular);
            //Assert.AreNotEqual(expected, actual);
            ////throw Exception
            //url = "http://{host}/[{virtualDir}]/AppInternals/Config/FC/File";
            //actual = target.ReadConfig(url, formular);
            //Assert.AreNotEqual(expected, actual);
            //formular = "/File";
            //url = "http://{host}/[{virtualDir}]/AppInternals/Config/AppSettings/JSON/File";
            //actual = target.ReadConfig(url, formular);
            //formular = "/View";
            //url = "http://{host}/[{virtualDir}]/AppInternals/Config/AppSettings/JSON/View/key";
            //actual = target.ReadConfig(url, formular);

            Assert.AreNotEqual(expected, actual);

        }
        public void ConfigWritterTest()
        {
            HandleConfig target = new HandleConfig(); // TODO: Initialize to an appropriate value
            string url = string.Empty; // TODO: Initialize to an appropriate value
            string formular = string.Empty; // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual = string.Empty;

           
            //throw Exception
            formular = "/Change";
            //url = "http://{host}/[{virtualDir}]/AppInternals/Config/AppSettings/Change?key=value&=&";
            //url = "http://{host}/[{virtualDir}]/AppInternals/Config/AppSettings/Change?key";
            //url = "http://{host}/[{virtualDir}]/AppInternals/Config/AppSettings/Change?=&";
            url = "http://{host}/[{virtualDir}]/AppInternals/Config/AppSettings/Change?=value";
            //actual = target.WriteConfig(url, formular);


            //Regular
            formular = "/Change";
            url = "http://{host}/[{virtualDir}]/AppInternals/Config/AppSettings/Change?key=value";
            //actual = target.WriteConfig(url, formular);

            Assert.AreNotEqual(expected, actual);
            
        }