code: def testInitCapturesDecoratorName(self):
      self.assertEqual(
          "decorator name",
          tf_decorator.TFDecorator(
              "decorator name", test_function
          ).decorator_name,
      )
  
imports: import functools
  import inspect
  from tensorflow.python.platform import test
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.util import tf_decorator
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 2 for calling the TfDecoratorTest obj's underlying member method code with example usage: obj.testInitCapturesDecoratorName() without return types