Exemplo n.º 1
0
        public void TestGetActiveItemAfterUnDelete()
        {
            ItemSetUp();

            With.Transaction(delegate
            {
                DomainRepository <T> .UnDelete(ActiveDeletedItem);
            });

            Assert.IsNotNull(DomainRepository <T> .GetActive(ActiveDeletedItem.ObjectId));
            Assert.IsNotNull(DomainRepository <T> .Get(ActiveDeletedItem.ObjectId));
        }