def METHOD_NAME(self, request: pytest.FixtureRequest, monkeypatch: pytest.MonkeyPatch):
    mock_cache = Mock()
    mock_cache.get.side_effect = getattr(request, "param", {}).get
    MockCache = Mock(return_value=mock_cache)
    monkeypatch.setattr("streamlink_cli.utils.versioncheck.Cache", MockCache)
    yield mock_cache
    assert MockCache.call_args_list == [call(filename="cli.json")]