public void TestSave()
        {
            DummyIContextualNode dummy = new DummyIContextualNode();

            dummy.value = "blah1234";
            ConfigNode       node    = new ConfigNode();
            OperationContext context = Exemplars.SaveContext;

            dummy.Save(node, context);
            Assert.Equal("blah1234", node.GetValue("value"));
            Assert.Same(context, dummy.lastContext);
        }
        public void TestLoad()
        {
            DummyIContextualNode dummy = new DummyIContextualNode();

            ConfigNode node = new TestConfigNode
            {
                { "value", "blah1234" },
                { "otherValue", "blah6789" },
            };

            OperationContext context = Exemplars.LoadPrefabContext;

            dummy.Load(node, context);
            Assert.Equal("blah1234", dummy.value);
            Assert.Same(context, dummy.lastContext);
        }