code: def test_avro_map_array(self):
      class MapArray(Record):
          values = Map(Array(Integer()))
  
      class MapMap(Record):
          values = Map(Map(Integer()))
  
      class ArrayMap(Record):
          values = Array(Map(Integer()))
  
      class ArrayArray(Record):
          values = Array(Array(Integer()))
  
      topic_prefix = "my-avro-map-array-topic-"
      data_list = (
          (
              topic_prefix + "0",
              AvroSchema(MapArray),
              MapArray(values={"A": [1, 2], "B": [3]}),
          ),
          (
              topic_prefix + "1",
              AvroSchema(MapMap),
              MapMap(
                  values={
                      "A": {"B": 2},
                  }
              ),
          ),
          (
              topic_prefix + "2",
              AvroSchema(ArrayMap),
              ArrayMap(values=[{"A": 1}, {"B": 2}, {"C": 3}]),
          ),
          (
              topic_prefix + "3",
              AvroSchema(ArrayArray),
              ArrayArray(values=[[1, 2, 3], [4]]),
          ),
      )
  
      client = pulsar.Client(self.serviceUrl)
      for data in data_list:
          topic = data[0]
          schema = data[1]
          record = data[2]
  
          producer = client.create_producer(topic, schema=schema)
          consumer = client.subscribe(topic, "sub", schema=schema)
  
          producer.send(record)
          msg = consumer.receive()
          self.assertEqual(msg.value().values, record.values)
          consumer.acknowledge(msg)
          consumer.close()
          producer.close()
  
      client.close()
  
imports: import math
  import logging
  import requests
  from typing import List
  from unittest import TestCase, main
  import fastavro
  import pulsar
  from pulsar.schema import *
  from enum import Enum
  import json
  from fastavro.schema import load_schema
label_desc: Use image node_id 23 for calling the SchemaTest obj's underlying member method code with example usage: obj.test_avro_map_array() without return types