code: def test_unsupported_versions_to_json(self, unsupported_version):
      counterfactual_explanations = CounterfactualExplanations(
          cf_examples_list=[],
          local_importance=None,
          summary_importance=None,
          version=unsupported_version,
      )
  
      with pytest.raises(UserConfigValidationException) as ucve:
          counterfactual_explanations.to_json()
  
      assert "Unsupported serialization version {}".format(
          unsupported_version
      ) in str(ucve)
  
file_path: DiCE/tests/test_counterfactual_explanations.py
imports: import json
  import pytest
  from raiutils.exceptions import UserConfigValidationException
  from dice_ml.counterfactual_explanations import CounterfactualExplanations
label_desc: Use image node_id 11 for calling the TestSerializationCounterfactualExplanations obj's underlying member method code with example usage: obj.test_unsupported_versions_to_json(unsupported_version) without return types