code: def test_conn(self):
      hook = SageMakerHook(aws_conn_id="sagemaker_test_conn_id")
      assert hook.aws_conn_id == "sagemaker_test_conn_id"
  
imports: from __future__ import annotations
  from typing import Generator
  from unittest import mock
  import pytest
  from moto import mock_sagemaker
  from airflow.providers.amazon.aws.hooks.sagemaker import SageMakerHook
  from airflow.providers.amazon.aws.operators.sagemaker import SageMakerCreateNotebookOperator, SageMakerDeleteNotebookOperator, SageMakerStartNoteBookOperator, SageMakerStopNotebookOperator
label_desc: Use image node_id 1 for calling the TestSageMakerHook obj's underlying member method code with example usage: obj.test_conn() without return types