public void DeleteTest1()
        {
            FireOfficeController fireOfficeController;

            fireOfficeController = new FireOfficeController();
            fireOfficeController.Delete((string)null);
            Assert.IsNotNull((object)fireOfficeController);
            Assert.AreEqual <string>("127.0.0.1", ((BaseService)fireOfficeController).Server);
            Assert.AreEqual <int>(8080, ((BaseService)fireOfficeController).Port);
        }
        public void DeleteTest()
        {
            FireOfficeController fireOfficeController;

            //用例测试1
            fireOfficeController = new FireOfficeController();
            fireOfficeController.Delete((Dictionary <string, object>)null);
            Assert.IsNotNull((object)fireOfficeController);
            Assert.AreEqual <string>("127.0.0.1", ((BaseService)fireOfficeController).Server);
            Assert.AreEqual <int>(8080, ((BaseService)fireOfficeController).Port);

            //测试用例2
            Dictionary <string, object> dictionary;

            fireOfficeController = new FireOfficeController();
            dictionary           = new Dictionary <string, object>(0);
            dictionary[""]       = (object)null;
            fireOfficeController.Delete(dictionary);
            Assert.IsNotNull((object)fireOfficeController);
            Assert.AreEqual <string>("127.0.0.1", ((BaseService)fireOfficeController).Server);
            Assert.AreEqual <int>(8080, ((BaseService)fireOfficeController).Port);
        }