code: def test_actionobject_method(worker):
      root_domain_client = worker.root_client
      action_store = worker.get_service("actionservice").store
      obj = ActionObject.from_obj("abc")
      pointer = root_domain_client.api.services.action.set(obj)
      assert len(action_store.data) == 1
      res = pointer.capitalize()
      assert len(action_store.data) == 2
      assert res[0] == "A"
  
file_path: PySyft/packages/syft/tests/syft/action_test.py
imports: import numpy
  from syft import ActionObject
  from syft.client.api import SyftAPICall
  from syft.service.action.action_object import Action
  from syft.service.response import SyftError
  from syft.types.uid import LineageID
label_desc: Use image node_id 1 for calling a global function with example usage: test_actionobject_method(worker) without return types