code: def testGetPrototype(self):
      db = descriptor_database.DescriptorDatabase()
      pool = descriptor_pool.DescriptorPool(db)
      db.Add(self.factory_test1_fd)
      db.Add(self.factory_test2_fd)
      factory = message_factory.MessageFactory()
      cls = factory.GetPrototype(
          pool.FindMessageTypeByName(
              "google.protobuf.python.internal.Factory2Message"
          )
      )
      self.assertFalse(cls is factory_test2_pb2.Factory2Message)
      self._ExerciseDynamicClass(cls)
      cls2 = factory.GetPrototype(
          pool.FindMessageTypeByName(
              "google.protobuf.python.internal.Factory2Message"
          )
      )
      self.assertTrue(cls is cls2)
  
file_path: coremltools/deps/protobuf/python/google/protobuf/internal/message_factory_test.py
imports: from google.protobuf import descriptor_pb2
  from google.protobuf.internal import factory_test1_pb2
  from google.protobuf.internal import factory_test2_pb2
  from google.protobuf import descriptor_database
  from google.protobuf import descriptor_pool
  from google.protobuf import message_factory
label_desc: Use image node_id 3 for calling the MessageFactoryTest obj's underlying member method code with example usage: obj.testGetPrototype() without return types