def METHOD_NAME(
        self,
        echo_mock
):
    dummy_ebcli_app = MagicMock()
    dummy_ebcli_app.setup = MagicMock(side_effect=AttributeError('This is my error', 'This is my error as well'))
    ebrun.run_app(dummy_ebcli_app)
    echo_mock.assert_called_with(
        io.bold(
            io.color(
                'red',
                "ERROR: {error_type} - ('{argument_1}', '{argument_2}')".format(
                    error_type='AttributeError',
                    linesep=os.linesep,
                    argument_1='This is my error',
                    argument_2='This is my error as well'
                )
            )
        )
    )
    dummy_ebcli_app.close.assert_called_once_with(code=4)