public void OnTransactionDiscard()
        {
            _parentHierarchyManagerStrictMock.Expect(mock => mock.RemoveSubTransaction());

            _manager.OnTransactionDiscard();

            _parentHierarchyManagerStrictMock.VerifyAllExpectations();
        }
 public void OnTransactionDiscard_NullParent()
 {
     Assert.That(() => _managerWithoutParent.OnTransactionDiscard(), Throws.Nothing);
 }