code: def test_additional_accepted_params_unknown_parameter():
      kwargs = {"strange_param": "value"}
      additional_accepted_params = ["strange_param"]
      # Although strange_param is not generation param the check_generation_params
      # does not raise exception because strange_param is passed as additional_accepted_params
      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 6 for calling a global function with example usage: test_additional_accepted_params_unknown_parameter() without return types