code: def test_create_metadata_should_succeed(
      self, tensor_type, golden_json
  ):
      label_file_en = metadata_info.LabelFileMd(
          file_path=self._LABEL_FILE_EN, locale="en"
      )
      label_file_cn = metadata_info.LabelFileMd(
          file_path=self._LABEL_FILE_CN, locale="cn"
      )
      score_calibration_md = metadata_info.ScoreCalibrationMd(
          _metadata_fb.ScoreTransformationType.IDENTITY,
          self._CALIBRATION_DEFAULT_SCORE,
          _SCORE_CALIBRATION_FILE,
      )
  
      tesnor_md = metadata_info.ClassificationTensorMd(
          name=self._NAME,
          description=self._DESCRIPTION,
          label_files=[label_file_en, label_file_cn],
          tensor_type=tensor_type,
          score_calibration_md=score_calibration_md,
      )
      tensor_metadata = tesnor_md.create_metadata()
  
      metadata_json = _metadata.convert_to_json(
          _create_dummy_model_metadata_with_tensor(tensor_metadata)
      )
      with open(golden_json, "r") as f:
          expected_json = f.read()
      self.assertEqual(metadata_json, expected_json)
  
imports: import os
  import tempfile
  from absl.testing import absltest
  from absl.testing import parameterized
  import flatbuffers
  from mediapipe.tasks.metadata import metadata_schema_py_generated
  from mediapipe.tasks.metadata import schema_py_generated
  from mediapipe.tasks.python.metadata import metadata
  from mediapipe.tasks.python.metadata.metadata_writers import metadata_info
  from mediapipe.tasks.python.test import test_utils
label_desc: Use image node_id 1 for calling the ClassificationTensorMdTest obj's underlying member method code with example usage: obj.test_create_metadata_should_succeed(tensor_type, golden_json) without return types