code: def test_gather_file_descriptors(self):
      fd_names = {
          fd.name
          for fd in proto_utils.gather_file_descriptors(
              foo_pb2.Foo.DESCRIPTOR.file
          )
      }
      self.assertEqual(
          fd_names,
          {
              "tfx/utils/testdata/bar.proto",
              "tfx/utils/testdata/foo.proto",
          },
      )
  
file_path: tfx/tfx/utils/proto_utils_test.py
imports: import tensorflow
  from tfx.utils import proto_utils
  from tfx.utils import test_case_utils
  from tfx.utils.testdata import foo_pb2
  from google.protobuf import any_pb2
  from google.protobuf import descriptor_pb2
label_desc: Use image node_id 2 for calling the ProtoUtilsTest obj's underlying member method code with example usage: obj.test_gather_file_descriptors() without return types