public void GetZooKeeperHostTest()
        {
            IDisconfWebApi webApi = new DisconfWebApi();
            string         value  = webApi.GetZooKeeperHost();

            Assert.IsTrue(!string.IsNullOrWhiteSpace(value));
        }
        public void GetAllConfigItemContent()
        {
            IDisconfWebApi webApi = new DisconfWebApi();
            IList <ConfigItemContentApiResult> list = webApi.GetAllConfigItemContent();

            Assert.IsNotNull(list);
        }
        public void GetConfigMetas()
        {
            IDisconfWebApi webApi = new DisconfWebApi();
            IList <ConfigMetadataApiResult> list = webApi.GetConfigMetadatas();

            Assert.IsNotNull(list);
        }
        public void GetConfigItemContentTest()
        {
            string         name   = "node1";
            IDisconfWebApi webApi = new DisconfWebApi();
            string         value  = webApi.GetConfigItemContent(name);

            Assert.IsTrue(!string.IsNullOrWhiteSpace(value));
        }
        public void GetConfigFileContentTest()
        {
            string         name   = "redis1.properties";
            IDisconfWebApi webApi = new DisconfWebApi();
            string         value  = webApi.GetConfigFileContent(name);

            Assert.IsTrue(!string.IsNullOrWhiteSpace(value));
        }