code: def test_configure_pool_with_vm_config(self):
      hook = AzureBatchHook(azure_batch_conn_id=self.test_vm_conn_id)
      pool = hook.configure_pool(
          pool_id="mypool",
          vm_size="test_vm_size",
          vm_node_agent_sku_id=self.test_vm_sku,
          target_dedicated_nodes=1,
          vm_publisher="test.vm.publisher",
          vm_offer="test.vm.offer",
          sku_starts_with="test-sku",
      )
      assert isinstance(pool, batch_models.PoolAddParameter)
  
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 4 for calling the TestAzureBatchHook obj's underlying member method code with example usage: obj.test_configure_pool_with_vm_config() without return types