Example #1
0
        public void ReadGlobalValue()
        {
            var block = "block";
            var key   = "key";
            var value = "test";

            var filePath = Path.Combine(base.TestTempPath, "testReadGlobal.crz3");

            using (var datastore = new CruiseDatastore_V3(filePath, true))
            {
                datastore.WriteGlobalValue(block, key, value);

                datastore.ReadGlobalValue(block, key).Should().Be(value);
            }
        }