code: def testStrategy_IrMode_PredicateTrue(self):
      artifact_1 = standard_artifacts.Integer()
      artifact_1.uri = self.create_tempfile().full_path
      artifact_1.value = 0
      artifact_2 = standard_artifacts.Integer()
      artifact_2.uri = self.create_tempfile().full_path
      artifact_2.value = 1
  
      strategy = conditional_strategy.ConditionalStrategy(
          [
              text_format.Parse(
                  _TEST_PREDICATE_1,
                  placeholder_pb2.PlaceholderExpression(),
              ),
              text_format.Parse(
                  _TEST_PREDICATE_2,
                  placeholder_pb2.PlaceholderExpression(),
              ),
          ]
      )
      input_dict = {
          "channel_1_key": [artifact_1],
          "channel_2_key": [artifact_2],
      }
      result = strategy.resolve_artifacts(self._store, input_dict)
      self.assertIsNotNone(result)
      self.assertEqual(result, input_dict)
  
file_path: tfx/tfx/dsl/input_resolution/strategies/conditional_strategy_test.py
imports: import tensorflow
  from tfx.dsl.input_resolution.strategies import conditional_strategy
  from tfx.orchestration import data_types
  from tfx.orchestration import metadata
  from tfx.orchestration.portable.input_resolution import exceptions
  from tfx.proto.orchestration import placeholder_pb2
  from tfx.types import standard_artifacts
  from tfx.utils import test_case_utils
  from google.protobuf import text_format
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 2 for calling the ConditionalStrategyTest obj's underlying member method code with example usage: obj.testStrategy_IrMode_PredicateTrue() without return types