code: def test_create_metadata_by_default_should_succeed(self):
      text_tensor_md = metadata_info.InputTextTensorMd()
  
      metadata_json = _metadata.convert_to_json(
          _create_dummy_model_metadata_with_tensor(
              text_tensor_md.create_metadata()
          )
      )
      with open(self._EXPECTED_TENSOR_DEFAULT_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 2 for calling the InputTextTensorMdTest obj's underlying member method code with example usage: obj.test_create_metadata_by_default_should_succeed() without return types