コード例 #1
0
        public void TestBeginChangesOnClone()
        {
            IEntity clone;

            clone = _controller.Clone(_entityNew);
            Assert.AreEqual(_entityNew.Id, clone.Id);
            Assert.AreEqual(EntityStatus.Clone, clone.Status);

            _controller.BeginChanges((EntityMock)clone);
        }