def METHOD_NAME(
    event_loop,
    aiohttp_client: Callable,
    app_config: dict[str, Any],
    mock_orphaned_services,
    monkeypatch_setenv_from_app_config: Callable,
):
    monkeypatch_setenv_from_app_config(app_config)
    app = create_safe_application(app_config)
    assert setup_settings(app)
    setup_session(app)
    setup_security(app)
    setup_rest(app)
    assert setup_activity(app)
    return event_loop.run_until_complete(aiohttp_client(app))