Exemple #1
0
        public void TestLoadFromConfigFileYamlBasic()
        {
            string        f      = TestUtils.TestUtils.RelocateFilePathsYAML("fixture/sdkintegration/network_configs/network-config.yaml".Locate());
            NetworkConfig config = NetworkConfig.FromYamlFile(f);

            Assert.IsNotNull(config);
            List <string> channelNames = config.GetChannelNames();

            Assert.IsTrue(channelNames.Contains("foo"));
        }