public void testLoadFromConfigFileJsonBasic()
        {
            ChaincodeCollectionConfiguration configYAML = ChaincodeCollectionConfiguration.FromYamlFile("fixture/collectionProperties/testCollection.yaml".Locate());

            Assert.IsNotNull(configYAML);
            byte[] configAsBytesYAML = configYAML.GetAsBytes();
            Assert.IsNotNull(configAsBytesYAML);
            Assert.AreEqual(configAsBytesYAML.Length, 137);
            ChaincodeCollectionConfiguration configJson = ChaincodeCollectionConfiguration.FromJsonFile("fixture/collectionProperties/testCollection.json".Locate());

            Assert.IsNotNull(configJson);
            byte[] configAsBytesJson = configYAML.GetAsBytes();
            Assert.IsNotNull(configAsBytesJson);
            Assert.AreEqual(configAsBytesJson.Length, 137);
            CollectionAssert.AreEqual(configAsBytesYAML, configAsBytesJson);
        }
        public void TestLoadFromConfigJsonFileNotExists()
        {
            // Should not be able to instantiate a new instance of "Client" without an actual configuration file

            ChaincodeCollectionConfiguration.FromJsonFile("FileDoesNotExist.json");
        }
 public void TestLoadFromConfigNullJsonFile()
 {
     // Should not be able to instantiate a new instance of "Client" without a valid path to the configuration');
     ChaincodeCollectionConfiguration.FromJsonFile(null);
 }