public virtual void TestValuesAreDisposedOfOnRollback()
 {
     TransactionLocalTestCase.Item itemBeforeRollback = ItemFor(t1);
     t1.Rollback();
     TransactionLocalTestCase.Item itemAfterRollback = ItemFor(t1);
     Assert.AreNotSame(itemAfterRollback, itemBeforeRollback);
 }
 public virtual void TestValuesAreDisposedOfOnCommit()
 {
     TransactionLocalTestCase.Item itemBeforeCommit = ItemFor(t1);
     t1.Commit();
     TransactionLocalTestCase.Item itemAfterCommit = ItemFor(t1);
     Assert.AreNotSame(itemAfterCommit, itemBeforeCommit);
 }