def METHOD_NAME(
        self,
        traceback_mock,
        echo_mock
):
    dummy_ebcli_app = MagicMock()
    dummy_ebcli_app.setup = MagicMock(side_effect=TestEbRun.MyDummyGenericException('My Exception Message'))
    with patch.object(sys, 'argv', ['--debug']):
        ebrun.run_app(dummy_ebcli_app)
        echo_mock.side_effect = [
            traceback_mock,
            'INFO: My Exception Message'
        ]
        dummy_ebcli_app.close.assert_called_once_with(code=4)