def METHOD_NAME(some_config, requests_mock, fb_account_response):
    api = API(access_token=some_config["access_token"])
    requests_mock.register_uri(
        "GET",
        FacebookSession.GRAPH + f"/{FB_API_VERSION}/me/accounts?" f"access_token={some_config['access_token']}&summary=true",
        [fb_account_response],
    )
    return api