public virtual void SetUp()
        {
            WxeContextFactory wxeContextFactory = new WxeContextFactory();

            _context = wxeContextFactory.CreateContext(new TestFunction());

            _mockRepository        = new MockRepository();
            _executionListenerStub = MockRepository.Stub <IWxeFunctionExecutionListener>();

            _transactionFactoryMock = MockRepository.StrictMock <ITransactionFactory>();
            _transactionMock        = MockRepository.StrictMock <ITransaction>();
            _transactionFactoryMock.Stub(stub => stub.Create()).Return(_transactionMock);

            _scopeMock                    = MockRepository.StrictMock <ITransactionScope> ();
            _executionContextMock         = MockRepository.StrictMock <IWxeFunctionExecutionContext>();
            _outerTransactionStrategyMock = MockRepository.StrictMock <TransactionStrategyBase>();
            _childTransactionStrategyMock = MockRepository.StrictMock <TransactionStrategyBase> ();
        }