public void VerifyGetNewestTransactionReturnsNewestTransaction()
        {
            var level0transaction    = new EsentTransaction(this.session, "test", null);
            var innerTransaction     = new EsentTransaction(this.session, "test", level0transaction);
            var innermostTransaction = new EsentTransaction(this.session, "test", innerTransaction);

            Assert.AreEqual(innermostTransaction, level0transaction.GetNewestTransaction());
        }
        public void VerifyGetNewestTransactionReturnsCurrentTransactionIfNoSubtransactions()
        {
            var transaction = new EsentTransaction(this.session, "test", null);

            Assert.AreEqual(transaction, transaction.GetNewestTransaction());
        }