code: def test_get_job_run_status(hook: AzureSynapseHook):
      hook.get_job_run_status()
      if hook._conn is not None and isinstance(hook._conn, SparkClient):
          hook._conn.spark_batch.get_spark_batch_job.assert_called_with(  # type: ignore[attr-defined]
              batch_id=JOB_ID
          )
  
file_path: airflow/tests/providers/microsoft/azure/hooks/test_synapse.py
imports: from __future__ import annotations
  from unittest.mock import MagicMock, patch
  import pytest
  from azure.synapse.spark import SparkClient
  from airflow.models.connection import Connection
  from airflow.providers.microsoft.azure.hooks.synapse import AzureSynapseHook, AzureSynapseSparkBatchRunStatus
label_desc: Use image node_id 6 for calling a global function with example usage: test_get_job_run_status(hook) without return types