public void Dispose_ITransaction_using_IDisposable_should_run_action()
		{
			var actionWasCalled = false;

			using (ITransaction tx = new Transaction(new CommittableTransaction(), 1, new DefaultTransactionOptions(), () => actionWasCalled = true))
				tx.Complete();

			Assert.That(actionWasCalled);
		}
		public void Dispose_ITransaction_using_IDisposable_should_run_action()
		{
			var actionWasCalled = false;

			var opt = new DefaultTransactionOptions();
			var cmt = new CommittableTransaction();

			using (ITransaction tx = new Transaction(cmt, 1, opt, () => actionWasCalled = true, NullLogger.Instance))
				tx.Complete();

			Assert.That(actionWasCalled);
		}