public void AddMediaTest1()
        {
            FireHBrigadeController fireHBrigadeController;

            fireHBrigadeController = new FireHBrigadeController();
            fireHBrigadeController.AddMedia
                ((string)null, (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);
        }
        public void AddMediaTest()
        {
            FireHBrigadeController fireHBrigadeController;

            //测试用例1
            fireHBrigadeController = new FireHBrigadeController();
            fireHBrigadeController.AddMedia(
                (Dictionary <string, object>)null, (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.AddMedia(dictionary, (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);
        }