def METHOD_NAME(_get_sagemaker_session, load_and_invoke, _exit_process, _load_run_object):
    os.environ["REMOTE_FUNCTION_SECRET_KEY"] = TEST_HMAC_KEY
    invoke_function.main()
    _get_sagemaker_session.assert_called_with(TEST_REGION)
    load_and_invoke.assert_called()
    _load_run_object.assert_not_called()
    _exit_process.assert_called_with(0)