code: def test_proto_to_dict(self):
      # Checks whether original field name is kept.
      self.assertEqual(
          proto_utils.proto_to_dict(self.test_proto), self.test_dict
      )
  
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 4 for calling the ProtoUtilsTest obj's underlying member method code with example usage: obj.test_proto_to_dict() without return types