public void reject_saves_nothing() { var repo = theUnitOfWork.Start(); repo.Update(new User()); repo.Update(new User()); repo.Update(new User()); repo.Update(new OtherEntity()); repo.Update(new OtherEntity()); repo.Update(new ThirdEntity()); theUnitOfWork.Reject(); repo = theUnitOfWork.Start(); repo.All <User>().Count().ShouldBe(0); repo.All <OtherEntity>().Count().ShouldBe(0); repo.All <ThirdEntity>().Count().ShouldBe(0); }