code: def test_segmentation_spleen_trainer(self):
      if not torch.cuda.is_available():
          return
  
      params = {
          "model": "spleen_ct_segmentation",
          "max_epochs": 1,
          "name": "net_test_spleen_trainer_01",
          "val_split": 0.5,
          "multi_gpu": False,
      }
  
      response = requests.post(
          f"{SERVER_URI}/train/spleen_ct_segmentation?run_sync=True",
          json=params,
      )
      assert response.status_code == 200
  
file_path: MONAILabel/tests/integration/monaibundle/bundles/test_trainer.py
imports: import unittest
  import requests
  import torch
  from tests.integration import SERVER_URI
label_desc: Use image node_id 1 for calling the EndPointSession obj's underlying member method code with example usage: obj.test_segmentation_spleen_trainer() without return types