class_docstr: Tests for CopyTo functions of Descriptor.
code: def testCopyToProto_ServiceDescriptor(self):
      TEST_SERVICE_ASCII = """
        name: 'TestService'
        method: <
          name: 'Foo'
          input_type: '.protobuf_unittest.FooRequest'
          output_type: '.protobuf_unittest.FooResponse'
        >
        method: <
          name: 'Bar'
          input_type: '.protobuf_unittest.BarRequest'
          output_type: '.protobuf_unittest.BarResponse'
        >
        """
  
      self._InternalTestCopyToProto(
          unittest_pb2.TestService.DESCRIPTOR,
          descriptor_pb2.ServiceDescriptorProto,
          TEST_SERVICE_ASCII,
      )
  
imports: import unittest
  from google.protobuf import unittest_custom_options_pb2
  from google.protobuf import unittest_import_pb2
  from google.protobuf import unittest_pb2
  from google.protobuf import descriptor_pb2
  from google.protobuf import descriptor
  from google.protobuf import text_format
label_desc: Use image node_id 11 for calling the DescriptorCopyToProtoTest obj's underlying member method code with example usage: obj.testCopyToProto_ServiceDescriptor() without return types