protected void ItemSetUp() { DraftItem = CreateAndSave(); ActiveItem = DomainRepository <T> .AddNew(); ActiveItem.Publish(); SaveItem(ActiveItem); ArchivedItem = DomainRepository <T> .AddNew(); ArchivedItem.Publish(); ArchivedItem.Archive(); SaveItem(ArchivedItem); ActiveDeletedItem = DomainRepository <T> .AddNew(); ActiveDeletedItem.Publish(); With.Transaction(delegate { DomainRepository <T> .Delete(ActiveDeletedItem); }); ArchivedDeletedItem = DomainRepository <T> .AddNew(); ArchivedDeletedItem.Publish(); ArchivedDeletedItem.Archive(); With.Transaction(delegate { DomainRepository <T> .Delete(ArchivedDeletedItem); }); DraftDeletedItem = DomainRepository <T> .AddNew(); With.Transaction(delegate { DomainRepository <T> .Delete(DraftDeletedItem); }); }