code: def testConvertTargetFieldsToKvPair(self):
      test_dict = {
          "implementation": {
              "container": {
                  "args": ["arg0"],
                  "command": ["command0"],
              }
          }
      }
      ref_dict = {
          "implementation": {
              "container": {
                  "args": [
                      {
                          "constantValue": "arg0",
                      }
                  ],
                  "command": [
                      {
                          "constantValue": "command0",
                      }
                  ],
              }
          }
      }
      kfp_container_component._convert_target_fields_to_kv_pair(
          test_dict
      )
      self.assertEqual(ref_dict, test_dict)
  
file_path: tfx/tfx/extensions/experimental/kfp_compatibility/kfp_container_component_test.py
imports: import os
  import tensorflow
  from tfx.dsl.component.experimental import container_component
  from tfx.dsl.component.experimental import placeholders
  from tfx.extensions.experimental.kfp_compatibility import kfp_container_component
  from tfx.extensions.experimental.kfp_compatibility.proto import kfp_component_spec_pb2
  from tfx.types import standard_artifacts
label_desc: Use image node_id 3 for calling the KubeflowContainerComponentTest obj's underlying member method code with example usage: obj.testConvertTargetFieldsToKvPair() without return types