def METHOD_NAME(self):
    self.record.write({"edi_exchange_state": "output_pending"})
    self.record._set_file_content("TEST %d" % self.record.id)
    self.assertFalse(self.record.exchanged_on)
    self.record.with_context(
        test_break_send="OOPS! Something went wrong :("
    ).action_exchange_send()
    self.assertTrue(FakeOutputSender.check_called_for(self.record))
    self.assertRecordValues(
        self.record,
        [
            {
                "edi_exchange_state": "output_error_on_send",
                "exchange_error": "OOPS! Something went wrong :(",
            }
        ],
    )