code: def _request_get(self, url):
      if "JSESSION?CSRF=true" in url:
          return argparse.Namespace(ok=True, content=b"xyzc=deffad")
      if "projects?format=json" in url:
          return ProjectResponse()
      if "experiments?format=json" in url:
          return ExperimentResponse()
      if "experiment1?format=xml" in url:
          return argparse.Namespace(content=xml_response)
      if "format=zip" in url:
          with open(
              os.path.join(base_dir, "downloads", "dicom.zip"),
              mode="rb",
          ) as file:
              content = file.read()
          return argparse.Namespace(ok=True, content=content)
      if "format=xml" in url:
          return argparse.Namespace(ok=True)
      return None
  
file_path: MONAILabel/tests/unit/datastore/test_xnat.py
imports: import argparse
  import os
  import unittest
  from monailabel.datastore.xnat import XNATDatastore
label_desc: Use image node_id 1 for calling the XNATDatastorMocked obj's underlying member method code with example usage: obj._request_get(url) and returns: None, argparse, ProjectResponse, ExperimentResponse, argparse, argparse, argparse