def METHOD_NAME(self):
    super(TestFatturaPAXMLValidation, self).METHOD_NAME()
    # XXX - a company named "YourCompany" alread exists
    # we move it out of the way but we should do better here
    self.env.company.sudo().search([("name", "=", "YourCompany")]).write(
        {"name": "YourCompany_"}
    )
    self.env.company.name = "YourCompany"
    self.env.company.vat = "IT06363391001"
    self.env.company.fatturapa_art73 = True
    self.env.company.partner_id.street = "Via Milano, 1"
    self.env.company.partner_id.city = "Roma"
    self.env.company.partner_id.state_id = self.env.ref("base.state_us_2").id
    self.env.company.partner_id.zip = "00100"
    self.env.company.partner_id.phone = "06543534343"
    self.env.company.email = "info@yourcompany.example.com"
    self.env.company.partner_id.country_id = self.env.ref("base.it").id
    self.env.company.fatturapa_fiscal_position_id = self.env.ref(
        "l10n_it_fatturapa.fatturapa_RF01"
    ).id
    self.env.ref("product.decimal_product_uom").digits = 3
    self.env.ref("uom.product_uom_unit").name = "Unit(s)"
    tax_form = Form(self.env["account.tax"])
    tax_form.name = "22%"
    tax_form.amount = 22
    self.tax22 = tax_form.save()
    tax_form = Form(self.env["account.tax"])
    tax_form.name = "FC INC"
    tax_form.amount = 0
    tax_form.price_include = True
    tax_form.kind_id = self.env.ref("l10n_it_account_tax_kind.n3_5")
    tax_form.law_reference = "Art. 8 co. 1 lett. c) e co. 2 del DPR 633/72"
    self.tax1 = tax_form.save()
    fp_form = Form(self.env["account.fiscal.position"])
    fp_form.name = "Test for declaration"
    fp_form.valid_for_declaration_of_intent = True
    with fp_form.tax_ids.new() as tax_ids:
        tax_ids.tax_src_id = self.tax22
        tax_ids.tax_dest_id = self.tax1
    self.fiscal_position = fp_form.save()
    self.payment_term = self.env.ref(
        "account.account_payment_term_end_following_month"
    )
    with Form(self.payment_term) as pt_form:
        pt_form.fatturapa_pt_id = self.env.ref(
            "l10n_it_fiscal_payment_term.fatturapa_tp02"
        )
        pt_form.fatturapa_pm_id = self.env.ref(
            "l10n_it_fiscal_payment_term.fatturapa_mp05"
        )
    self.env.ref("l10n_it_declaration_of_intent.declaration_of_intent_seq").copy(
        {
            "company_id": self.env.company.id,
        }
    )