def METHOD_NAME(self):
    eq_ignore_whitespace(
        autogenerate.render._repr_type(
            EXT_ARRAY(FOOBARTYPE), self.autogen_context
        ),
        "custom_dialect_types.EXT_ARRAY"
        "(custom_dialect_types.FOOBARTYPE())",
    )
    eq_(
        self.autogen_context.imports,
        {
            "from tests.test_external_dialect "
            "import custom_dialect_types"
        },
    )