public void DeleteMediaTest1()
        {
            FireHBrigadeController fireHBrigadeController;

            fireHBrigadeController = new FireHBrigadeController();
            fireHBrigadeController.DeleteMedia((string)null);
            Assert.IsNotNull((object)fireHBrigadeController);
            Assert.AreEqual <string>
                ("127.0.0.1", ((BaseService)fireHBrigadeController).Server);
            Assert.AreEqual <int>(8080, ((BaseService)fireHBrigadeController).Port);
        }
        public void DeleteMediaTest()
        {
            FireHBrigadeController fireHBrigadeController;

            //测试用例1
            fireHBrigadeController = new FireHBrigadeController();
            fireHBrigadeController.DeleteMedia((Dictionary <string, object>)null);
            Assert.IsNotNull((object)fireHBrigadeController);
            Assert.AreEqual <string>
                ("127.0.0.1", ((BaseService)fireHBrigadeController).Server);
            Assert.AreEqual <int>(8080, ((BaseService)fireHBrigadeController).Port);
            //测试用例2
            Dictionary <string, object> dictionary;

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