def METHOD_NAME(
    self,
    request: pytest.FixtureRequest,
    monkeypatch: pytest.MonkeyPatch,
    which: Mock,
    lookups: List[str],
    expected: Optional[str],
):
    monkeypatch.setattr("streamlink_cli.utils.player.is_win32", "win32" in request.function.__name__)
    monkeypatch.setattr("streamlink_cli.utils.player.is_darwin", "darwin" in request.function.__name__)
    yield
    assert find_default_player() == expected
    assert which.call_args_list == [call(path) for path in lookups]