code: def testEnums(self):
      # Check registration of types in the pool.
      self.assertEqual(
          "protobuf_unittest.ForeignEnum",
          self._Database()
          .pool.FindEnumTypeByName("protobuf_unittest.ForeignEnum")
          .full_name,
      )
      self.assertEqual(
          "protobuf_unittest.TestAllTypes.NestedEnum",
          self._Database()
          .pool.FindEnumTypeByName(
              "protobuf_unittest.TestAllTypes.NestedEnum"
          )
          .full_name,
      )
  
file_path: coremltools/deps/protobuf/python/google/protobuf/internal/symbol_database_test.py
imports: from google.protobuf import unittest_pb2
  from google.protobuf import descriptor
  from google.protobuf import descriptor_pool
  from google.protobuf import symbol_database
label_desc: Use image node_id 5 for calling the SymbolDatabaseTest obj's underlying member method code with example usage: obj.testEnums() without return types