class_docstr: Checks that messages, enums and files are correctly registered.
code: def testEnums(self):
      self.assertEqual(
          "protobuf_unittest.ForeignEnum",
          symbol_database.Default()
          .pool.FindEnumTypeByName("protobuf_unittest.ForeignEnum")
          .full_name,
      )
      self.assertEqual(
          "protobuf_unittest.TestAllTypes.NestedEnum",
          symbol_database.Default()
          .pool.FindEnumTypeByName(
              "protobuf_unittest.TestAllTypes.NestedEnum"
          )
          .full_name,
      )
  
imports: from google.protobuf.internal import test_bad_identifiers_pb2
  from google.protobuf import unittest_custom_options_pb2
  from google.protobuf import unittest_import_pb2
  from google.protobuf import unittest_import_public_pb2
  from google.protobuf import unittest_mset_pb2
  from google.protobuf import unittest_mset_wire_format_pb2
  from google.protobuf import unittest_no_generic_services_pb2
  from google.protobuf import unittest_pb2
  from google.protobuf import service
  from google.protobuf import symbol_database
label_desc: Use image node_id 2 for calling the SymbolDatabaseRegistrationTest obj's underlying member method code with example usage: obj.testEnums() without return types