code: def test_invalid_generation_parameters():
      # these are invalid parameters
      kwargs = {"invalid_param": "value"}
      additional_accepted_params = None
      with pytest.raises(ValueError):
          check_generation_params(kwargs, additional_accepted_params)
  
imports: import pytest
  from haystack.components.generators.hf_utils import check_generation_params
label_desc: Use image node_id 3 for calling a global function with example usage: test_invalid_generation_parameters() without return types