code: def test_true(self):
      x = tf.constant(0)
      conditions = [
          (True, lambda: tf.constant(1)),
          (tf.equal(x, 1), raise_exception),
      ]
      y = ps.case(conditions, default=raise_exception, exclusive=False)
      z = ps.case(conditions, default=raise_exception, exclusive=True)
  
      self.assertEqual(self.evaluate(y), 1)
      self.assertEqual(self.evaluate(z), 1)
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 1 for calling the CaseTest obj's underlying member method code with example usage: obj.test_true() without return types