public void TestInitialize()
        {
            portal = scope.Resolve <ISendReceivePortal <IEditObjectList> >();
            list   = portal.Fetch().Result;
            child  = list.CreateAdd().Result;
            child.MarkUnmodified();
            child.MarkOld();

            Assert.IsFalse(list.IsModified);
        }
Example #2
0
        public void FatClientEdit_IsModified_False()
        {
            target.MarkUnmodified();
            var json = Serialize(target);

            var newTarget = Deserialize(json);

            Assert.IsFalse(newTarget.IsModified);
            Assert.IsFalse(newTarget.IsSelfModified);
        }