public void TheStateOfAValueReferenceCanBeRestoredFromABooleanSnapshot()
        {
            var reference = new ValueReferenceDefinitionBuilder().Build().CreateValueReference(engine);

            reference.RestoreFromSnapshot(engine, new ValueReference.Snapshot("1", true));
            Assert.AreEqual(true, reference.ValueAsBool());
        }
        public void CanSetTheValueContainedByAReferenceToABool()
        {
            var reference = new ValueReferenceDefinitionBuilder().WithStartingValue(true).Build().CreateValueReference(engine);

            reference.Set(false);
            Assert.IsFalse(reference.ValueAsBool());
        }