protected void InvokeOnExecutionPause(ScopedTransactionStrategyBase strategy) { _childTransactionStrategyMock.BackToRecord(); _childTransactionStrategyMock.Stub(stub => stub.OnExecutionPause(_context, _executionListenerStub)); _childTransactionStrategyMock.Replay(); _scopeMock.BackToRecord(); _scopeMock.Stub(stub => stub.Leave()); _scopeMock.Replay(); strategy.OnExecutionPause(Context, _executionListenerStub); _childTransactionStrategyMock.BackToRecord(); _scopeMock.BackToRecord(); }