code: def createMockWorkerAndObjectRef(obj_ref):
      return ({obj_ref: 1}, obj_ref)
  
file_path: ray/rllib/utils/tests/test_taskpool.py
imports: import unittest
  from unittest.mock import patch
  import ray
  from ray.rllib.utils.actors import TaskPool
label_desc: Use image node_id 1 for calling a global function with example usage: createMockWorkerAndObjectRef(obj_ref) and returns: dict,  obj_ref