code: def test_exported_docstring(self):
      exporter = exported_api.ExportedApi()
      p = extractor.Parser(
          exporter,
          decorator="tf.tf_export",
          api_name="tf",
      )
      p.process(
          "test.py",
          '''# 1
  """this is an exported docstring.
  API docstring: tf.test
  """  # 4
          ''',
      )
      p.process(
          "test2.py",
          '''# 1
  """this is not an exported docstring.
  API docstring: tf_estimator.test2
  """  # 4
          ''',
      )
      self.assertEqual(
          exporter,
          exported_api.ExportedApi(
              docs=[
                  exported_api.ExportedDoc(
                      file_name="test.py",
                      line_no=2,
                      docstring="this is an exported docstring.",
                      modules=("tf.test",),
                  )
              ],
          ),
      )
  
file_path: tensorflow-upstream/tensorflow/python/tools/api/generator2/extractor/extractor_test.py
imports: from absl.testing import absltest
  from tensorflow.python.tools.api.generator2.extractor import extractor
  from tensorflow.python.tools.api.generator2.shared import exported_api
label_desc: Use image node_id 1 for calling the ParserTest obj's underlying member method code with example usage: obj.test_exported_docstring() without return types