code: def test_job_configuration_and_create_job(self, mock_batch):
      hook = AzureBatchHook(azure_batch_conn_id=self.test_vm_conn_id)
      mock_instance = mock_batch.return_value.job.add
      job = hook.configure_job(job_id="myjob", pool_id="mypool")
      hook.create_job(job)
      assert isinstance(job, batch_models.JobAddParameter)
      mock_instance.assert_called_once_with(job)
  
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 10 for calling the TestAzureBatchHook obj's underlying member method code with example usage: obj.test_job_configuration_and_create_job(mock_batch) without return types