code: def test_rejection_aok_values(val, validator_aok_values):
      with pytest.raises(ValueError) as validation_failure:
          validator_aok_values.validate_coerce(val)
  
      assert "Invalid element(s)" in str(validation_failure.value)
  
imports: import pytest
  from _plotly_utils.basevalidators import StringValidator
  import numpy
label_desc: Use image node_id 20 for calling a global function with example usage: test_rejection_aok_values(val, validator_aok_values) without return types