Пример #1
0
        public void Set_ChainedProperty_CorrectPropertySetterCreated()
        {
            _collection.Set(to => to.Child.String, () => "10");
            var member = GetAllDestInfo(o => o.Child.String);
            var setter = _collection.Setters.First(m => m.IsForMember(member));

            Assert.IsNotNull(setter);
            Assert.IsTrue(setter.IsMapped);
            Assert.IsFalse(setter.IsIgnored);
        }