code: def testBasic(self):
      resource_tracker = resource.ResourceTracker()
      with resource.resource_tracker_scope(resource_tracker):
          dummy_resource1 = _DummyResource("test1")
          dummy_resource2 = _DummyResource("test2")
  
      self.assertEqual(2, len(resource_tracker.resources))
      self.assertEqual(
          "test1", resource_tracker.resources[0].resource_handle
      )
      self.assertEqual(
          "test2", resource_tracker.resources[1].resource_handle
      )
  
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 ResourceTrackerTest obj's underlying member method code with example usage: obj.testBasic() without return types