def _SetupFoundation(self):
    applescript.Foundation = self.mox.CreateMockAnything()
    applescript.Foundation.NSAppleScript = self.mox.CreateMockAnything()
Test the capture of output in different channels.
dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/applescript_test.py/AppleScriptRunnerTest._SetupFoundation--crossover with--dataset/ETHPy150Open ipython/ipython-py3k/IPython/deathrow/oldfrontend/tests/test_prefilterfrontend.py/test_capture