code: def test_basic(self):
      self.assertFunctionMatchesEager(simple_assertion, 1)
      self.assertFunctionMatchesEager(simple_assertion, tf.constant(1))
      with self.assertRaises(AssertionError):
          self.function(simple_assertion)(0)
      with self.assertRaises(tf.errors.InvalidArgumentError):
          self.function(simple_assertion)(tf.constant(0))
  
imports: import tensorflow
  from tensorflow.python.autograph.tests import reference_test_base
label_desc: Use image node_id 2 for calling the ReferenceTest obj's underlying member method code with example usage: obj.test_basic() without return types