def METHOD_NAME(self):
    self._original_stdout = sys.stdout
    self._output = OutputCapturer()
    sys.stdout = self._output
    self._original_stderr = sys.stderr
    self._error = OutputCapturer()
    sys.stderr = self._error