code: def test_plan_with_object_instantiation(worker, guest_client):
      @planify
      def my_plan(x=np.array([1, 2, 3, 4, 5, 6])):  # noqa: B008
          return x + 1
  
      root_domain_client = worker.root_client
  
      plan_ptr = my_plan.send(guest_client)
  
      input_obj = TwinObject(
          private_obj=np.array([1, 2, 3, 4, 5, 6]),
          mock_obj=np.array([1, 1, 1, 1, 1, 1]),
      )
  
      _id = root_domain_client.api.services.action.set(input_obj).id
      pointer = guest_client.api.services.action.get_pointer(_id)
  
      res_ptr = plan_ptr(x=pointer)
  
      assert all(
          root_domain_client.api.services.action.get(
              res_ptr.id
          ).syft_action_data
          == np.array([2, 3, 4, 5, 6, 7])
      )
  
file_path: PySyft/packages/syft/tests/syft/eager_test.py
imports: import numpy
  from syft.service.action.action_object import ActionObject
  from syft.service.action.plan import planify
  from syft.types.twin_object import TwinObject
label_desc: Use image node_id 4 for calling a global function with example usage: test_plan_with_object_instantiation(worker, guest_client) and returns: unknown