code: def test_add_single_task_to_job(self, mock_batch):
      hook = AzureBatchHook(azure_batch_conn_id=self.test_vm_conn_id)
      mock_instance = mock_batch.return_value.task.add
      task = hook.configure_task(
          task_id="mytask", command_line="echo hello"
      )
      hook.add_single_task_to_job(job_id="myjob", task=task)
      assert isinstance(task, batch_models.TaskAddParameter)
      mock_instance.assert_called_once_with(job_id="myjob", task=task)
  
imports: from __future__ import annotations
  from unittest import mock
  from unittest.mock import PropertyMock
  import pytest
  from azure.batch import BatchServiceClient, models
  from airflow.models import Connection
  from airflow.providers.microsoft.azure.hooks.batch import AzureBatchHook
label_desc: Use image node_id 11 for calling the TestAzureBatchHook obj's underlying member method code with example usage: obj.test_add_single_task_to_job(mock_batch) without return types