def METHOD_NAME(self) -> None:
    transformer = ComplexTypeTransformer()
    config = ConfigFactory.from_dict({
        PARSING_FUNCTION: 'databuilder.utils.hive_complex_type_parser.invalid_function',
    })
    with self.assertRaises(Exception):
        transformer.init(conf=config)