def METHOD_NAME(cls):
    super().METHOD_NAME()
    # Load fake models ->/
    cls.loader = FakeModelLoader(cls.env, cls.__module__)
    cls.loader.backup_registry()
    from .fake_models import EdiExchangeConsumerTest
    cls.loader.update_registry((EdiExchangeConsumerTest,))
    cls.consumer_record = cls.env["edi.exchange.consumer.test"].create(
        {"name": "Test Consumer"}
    )
    cls.exchange_type_out.exchange_filename_pattern = "{record.id}"
    rule_vals = {
        "name": "Test",
        "model_id": cls.env["ir.model"]._get_id(cls.consumer_record._name),
        "kind": "custom",
        "enable_domain": "[]",
        "enable_snippet": """