docstr: Test `receive_message` hook function and assert the function with mock value,
  mock the azure service bus `receive_messages` function
docstr_tok: ["Test","`","receive_message","`","hook","function","and","assert","the","function","with","mock","value",",","mock","the","azure","service","bus","`","receive_messages","`","function"]
code: def test_receive_message(
      self, mock_sb_client, mock_service_bus_message
  ):
      """
      Test `receive_message` hook function and assert the function with mock value,
      mock the azure service bus `receive_messages` function
      """
      hook = MessageHook(azure_service_bus_conn_id=self.conn_id)
      mock_sb_client.return_value.get_queue_receiver.return_value.receive_messages.return_value = [
          mock_service_bus_message
      ]
      hook.receive_message(self.queue_name)
      expected_calls = [
          mock.call()
          .__enter__()
          .get_queue_receiver(self.queue_name)
          .__enter__()
          .receive_messages(max_message_count=30, max_wait_time=5)
          .get_queue_receiver(self.queue_name)
          .__exit__()
          .mock_call()
          .__exit__
      ]
      mock_sb_client.assert_has_calls(expected_calls)
  
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from airflow.models import Connection
  from airflow.providers.microsoft.azure.hooks.asb import AdminClientHook, MessageHook
label_desc: Use image node_id 6 for calling the TestMessageHook obj's underlying member method code with example usage: obj.test_receive_message(mock_sb_client, mock_service_bus_message) without return types