code: def test_get_pipeline_run(hook: AzureSynapsePipelineHook):
      hook.get_pipeline_run(run_id=RUN_ID)
  
      if hook._conn is not None and isinstance(
          hook._conn, ArtifactsClient
      ):
          hook._conn.pipeline_run.get_pipeline_run.assert_called_with(
              run_id=RUN_ID
          )
  
file_path: airflow/tests/providers/microsoft/azure/hooks/test_synapse_pipeline.py
imports: from __future__ import annotations
  from unittest.mock import MagicMock, patch
  import pytest
  from azure.identity import ClientSecretCredential, DefaultAzureCredential
  from azure.synapse.artifacts import ArtifactsClient
  from airflow.models.connection import Connection
  from airflow.providers.microsoft.azure.hooks.synapse import AzureSynapsePipelineHook, AzureSynapsePipelineRunException, AzureSynapsePipelineRunStatus
label_desc: Use image node_id 5 for calling a global function with example usage: test_get_pipeline_run(hook) without return types