def METHOD_NAME(self):
    result = tools.file_open(
        "result.pdf", subdir="addons/edi_oca/tests", mode="rb"
    ).read()
    self.backend.with_context(fake_output=result).exchange_generate(self.record)