code: def testCond(self):
      with ops.Graph().as_default():
          pred = array_ops.placeholder_with_default(True, shape=())
          x = cond.cond(
              pred,
              lambda: constant_op.constant(1),
              lambda: constant_op.constant(2),
          )
          self.assertIsNone(smart_cond.smart_constant_value(x))
  
imports: from tensorflow.python.client import session
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import smart_cond
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import cond
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 1 for calling the SmartConstantValueTest obj's underlying member method code with example usage: obj.testCond() without return types