def METHOD_NAME(
    fetch_token,
    args: list[str],
    exitcode: int,
    output: str,
    cli_runner: RunnerFunc,
):
    fetch_token.side_effect = lambda cfg: "id-1234"
    result = cli_runner(["fetch-token"] + args)
    assert result.exit_code == exitcode
    assert result.stdout == output