def METHOD_NAME(run_line, cli_args):
    # NOTE: this test uses the same fixture data, but the fixtures are populated with
    # role information for an identity-related role
    # as a result, the response and output will not match, but the command should still
    # succeed and we can inspect the request sent
    # however, we need to include the get-identities data for the username lookup step
    load_response_set("cli.multiuser_get_identities")
    meta = load_response_set("cli.search").metadata
    index_id = meta["index_id"]
    run_line(
        ["globus", "search", "index", "role", "create", index_id, "admin"] + cli_args
    )
    sent = _last_search_call().request
    assert sent.method == "POST"
    data = json.loads(sent.body)
    assert data["role_name"] == "admin"
    assert (
        data["principal"] == "urn:globus:groups:id:a6de8802-6bce-4dd8-afa0-28dc38db5c77"
    )