code: def testNestedCondition(self):
      pred1 = placeholder.input("foo") == "bar"
      pred2 = placeholder.input("foo") == "baz"
      with conditional.Cond(pred1):
          node1 = _FakeNode().with_id("node1")
          with conditional.Cond(pred2):
              node2 = _FakeNode().with_id("node2")
      self.assertPredicatesEqual(node1, pred1)
      self.assertPredicatesEqual(node2, pred1, pred2)
  
file_path: tfx/tfx/dsl/experimental/conditionals/conditional_test.py
imports: from typing import Any, Dict
  import tensorflow
  from tfx.dsl.components.base import base_node
  from tfx.dsl.context_managers import dsl_context_registry
  from tfx.dsl.experimental.conditionals import conditional
  from tfx.dsl.placeholder import placeholder
label_desc: Use image node_id 3 for calling the ConditionalTest obj's underlying member method code with example usage: obj.testNestedCondition() without return types