public void CanGetAndSetAttribute()
        {
            var store = new TestStore();

            store.Set("IsSomething", Layer.Defaults, true);
            store.IsSomething.ShouldBeTrue();
        }
        public void CanCheckIfAttributeIsSpecified()
        {

            var store = new TestStore();            
            store.IsSpecified("IsSomething").ShouldBeFalse();
            store.Set("IsSomething", Layer.Defaults, true);
            store.IsSpecified("IsSomething").ShouldBeTrue();
        }
        public void CanSetDefaultValue()
        {
            var source = new TestStore();

            source.Set("IsSomething", Layer.Defaults, true);

            source.IsSomething.ShouldBeTrue();
        }
        public void CanCheckIfAttributeIsSpecified()
        {
            var store = new TestStore();

            store.IsSpecified("IsSomething").ShouldBeFalse();
            store.Set("IsSomething", Layer.Defaults, true);
            store.IsSpecified("IsSomething").ShouldBeTrue();
        }
        public void UnsetValuesAreNotCopied()
        {
            var source = new TestStore();
            var target = new TestStore();
            target.Set("IsSomething", Layer.Defaults, true);
            source.CopyTo(target);

            target.IsSomething.ShouldBeTrue();
        }
        public void CanCopyAttributes()
        {
            var source = new TestStore();
            source.Set("IsSomething", Layer.Defaults, true);

            var target = new TestStore();
            source.CopyTo(target);

            target.IsSomething.ShouldBeTrue();
        }
        public void UnsetValuesAreNotCopied()
        {
            var source = new TestStore();
            var target = new TestStore();

            target.Set("IsSomething", Layer.Defaults, true);
            source.CopyTo(target);

            target.IsSomething.ShouldBeTrue();
        }
        public void CopyingAttributesReplacesOldValues()
        {
            var source = new TestStore();
            source.Set("IsSomething", Layer.Defaults, false);

            var target = new TestStore();
            target.Set("IsSomething", Layer.Defaults, true);
            source.CopyTo(target);

            target.IsSomething.ShouldBeFalse();
        }
        public void CanCopyAttributes()
        {
            var source = new TestStore();

            source.Set("IsSomething", Layer.Defaults, true);

            var target = new TestStore();

            source.CopyTo(target);

            target.IsSomething.ShouldBeTrue();
        }
        public void CopyingAttributesReplacesOldValues()
        {
            var source = new TestStore();

            source.Set("IsSomething", Layer.Defaults, false);

            var target = new TestStore();

            target.Set("IsSomething", Layer.Defaults, true);
            source.CopyTo(target);

            target.IsSomething.ShouldBeFalse();
        }
 public void CanSetDefaultValue()
 {
     var source = new TestStore();
     source.Set("IsSomething", Layer.Defaults, true);
     
     source.IsSomething.ShouldBeTrue();
 }
 public void CanGetAndSetAttribute()
 {
     var store = new TestStore();
     store.Set("IsSomething", Layer.Defaults, true);
     store.IsSomething.ShouldBeTrue();            
 }