docstr: Test that if Connection ID is looked up in AWS Secrets Manager
docstr_tok: ["Test","that","if","Connection","ID","is","looked","up","in","AWS","Secrets","Manager"]
code: def test_connection_lookup_pattern(
      self,
      mock_client,
      connection_id,
      connections_lookup_pattern,
      num_client_calls,
  ):
      """
      Test that if Connection ID is looked up in AWS Secrets Manager
      """
      mock_client().get_secret_value.return_value = {
          "SecretString": None
      }
      kwargs = {
          "connections_lookup_pattern": connections_lookup_pattern
      }
  
      secrets_manager_backend = SecretsManagerBackend(**kwargs)
      secrets_manager_backend.get_conn_value(connection_id)
      assert (
          mock_client().get_secret_value.call_count == num_client_calls
      )
  
imports: from __future__ import annotations
  import json
  from unittest import mock
  import pytest
  from moto import mock_secretsmanager
  from airflow.providers.amazon.aws.secrets.secrets_manager import SecretsManagerBackend
label_desc: Use image node_id 14 for calling the TestSecretsManagerBackend obj's underlying member method code with example usage: obj.test_connection_lookup_pattern(mock_client, connection_id, connections_lookup_pattern, num_client_calls) without return types