code: def test_run_metadata(self):
      plugin = self.load_plugin([_RUN_WITH_GRAPH_WITH_METADATA])
      ctx = context.RequestContext()
      result = plugin.run_metadata_impl(
          ctx,
          "123",
          _RUN_WITH_GRAPH_WITH_METADATA[0],
          self._METADATA_TAG,
      )
      (metadata_pbtxt, mime_type) = result
      self.assertEqual(mime_type, "text/x-protobuf")
      text_format.Parse(metadata_pbtxt, config_pb2.RunMetadata())
  
imports: import collections.abc
  import math
  import os.path
  import tensorflow
  from google.protobuf import text_format
  from tensorboard import context
  from tensorboard import errors
  from tensorboard.backend.event_processing import data_provider
  from tensorboard.backend.event_processing import plugin_event_multiplexer
  from tensorboard.compat.proto import config_pb2
  from tensorboard.plugins import base_plugin
  from tensorboard.plugins.graph import graphs_plugin
  from tensorboard.util import test_util
label_desc: Use image node_id 7 for calling the GraphsPluginV1Test obj's underlying member method code with example usage: obj.test_run_metadata() without return types