def METHOD_NAME(self):
    self.exchange_type_out.exchange_file_auto_generate = True
    # No content ready to be sent, will get the content and send it
    for rec in self.records:
        self.assertEqual(rec.edi_exchange_state, "new")
    self.backend._cron_check_output_exchange_sync()
    for rec in self.records:
        self.assertEqual(rec.edi_exchange_state, "output_sent")
        self.assertTrue(FakeOutputGenerator.check_called_for(rec))
        self.assertEqual(
            rec._get_file_content(), FakeOutputGenerator._call_key(rec)
        )
        self.assertTrue(FakeOutputSender.check_called_for(rec))