code: def testResourceCreator(self):
      def resource_creator_fn(next_creator, *a, **kwargs):
          kwargs["handle_name"] = "forced_name"
          return next_creator(*a, **kwargs)
  
      # test that two resource classes use the same creator function
      with ops.resource_creator_scope(
          ["_DummyResource", "_DummyResource1"], resource_creator_fn
      ):
          dummy_0 = _DummyResource(handle_name="fake_name_0")
          dummy_1 = _DummyResource1(handle_name="fake_name_1")
  
      self.assertEqual(dummy_0._handle_name, "forced_name")
      self.assertEqual(dummy_1._handle_name, "forced_name")
  
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 1 for calling the ResourceCreatorScopeTest obj's underlying member method code with example usage: obj.testResourceCreator() and returns: next_creator