public void CanSetDefaultValue() { var source = new TestStore(); source.SetDefault(x => x.IsSomething, true); source.IsSomething.ShouldBeTrue(); }
public void DefaultValuesAreNotCopied() { var source = new TestStore(); source.SetDefault(x => x.IsSomething, true); var target = new TestStore(); target.IsSomething = false; source.CopyTo(target); target.IsSomething.ShouldBeFalse(); }