def METHOD_NAME(cls):
    super().METHOD_NAME()
    cls.backend = cls._get_backend()
    cls.exc_type = cls._create_exchange_type(
        name="Test SO import",
        code="test_so_import",
        direction="input",
        exchange_file_ext="xml",
        exchange_filename_pattern="{record.identifier}-{type.code}-{dt}",
        backend_id=cls.backend.id,
        advanced_settings_edit=textwrap.dedent(
            """
        components:
            process:
                usage: input.process.account.invoice
        account_invoice_import:
            wiz_ctx:
                random_key: custom
        """
        ),
    )
    cls.record = cls.backend.create_record("test_so_import", {})
    cls.record._set_file_content(b"<fake><invoice></invoice></fake>")
    cls.wiz_model = cls.env["account.invoice.import"]