code: def testResourceCreatorNesting(self):
      def resource_creator_fn_0(next_creator, *a, **kwargs):
          instance = next_creator(*a, **kwargs)
          instance._value = 1
          return instance
  
      def resource_creator_fn_1(next_creator, *a, **kwargs):
          kwargs["handle_name"] = "forced_name1"
          return next_creator(*a, **kwargs)
  
      with ops.resource_creator_scope(
          ["_DummyResource1"], resource_creator_fn_0
      ):
          with ops.resource_creator_scope(
              ["_DummyResource1"], resource_creator_fn_1
          ):
              dummy_0 = _DummyResource1(handle_name="fake_name")
  
      self.assertEqual(dummy_0._handle_name, "forced_name1")
      self.assertEqual(dummy_0._value, 1)
  
imports: from tensorflow.python.eager import context
  from tensorflow.python.eager import wrap_function
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import test
  from tensorflow.python.trackable import resource
label_desc: Use image node_id 3 for calling the ResourceCreatorScopeTest obj's underlying member method code with example usage: obj.testResourceCreatorNesting() and returns: instance, next_creator