code: def test_create_location_smb(self, mock_get_conn):
      # ### Configure mock:
      mock_get_conn.return_value = self.client
      # ### Begin tests:
  
      locations = self.hook.get_conn().list_locations()
      assert len(locations["Locations"]) == 2
  
      server_hostname = "my.hostname"
      subdirectory = "my_dir"
      agent_arns = ["stuff"]
      user = "username123"
      domain = "COMPANY.DOMAIN"
      mount_options = {"Version": "SMB2"}
  
      location_uri = f"smb://{server_hostname}/{subdirectory}"
  
      create_location_kwargs = {
          "ServerHostname": server_hostname,
          "Subdirectory": subdirectory,
          "User": user,
          "Password": "password",
          "Domain": domain,
          "AgentArns": agent_arns,
          "MountOptions": mount_options,
      }
      location_arn = self.hook.create_location(
          location_uri, **create_location_kwargs
      )
      assert location_arn is not None
  
      locations = self.client.list_locations()
      assert len(locations["Locations"]) == 3
  
      location_desc = self.client.describe_location_smb(
          LocationArn=location_arn
      )
      assert location_desc["LocationArn"] == location_arn
      assert location_desc["LocationUri"] == location_uri
      assert location_desc["AgentArns"] == agent_arns
      assert location_desc["User"] == user
      assert location_desc["Domain"] == domain
      assert location_desc["MountOptions"] == mount_options
  
imports: from __future__ import annotations
  from unittest import mock
  import boto3
  import pytest
  from moto import mock_datasync
  from airflow.exceptions import AirflowException, AirflowTaskTimeout
  from airflow.providers.amazon.aws.hooks.datasync import DataSyncHook
label_desc: Use image node_id 6 for calling the TestDataSyncHookMocked obj's underlying member method code with example usage: obj.test_create_location_smb(mock_get_conn) without return types