def METHOD_NAME(self):
    index_service: IndexService = self.index_service
    for _ in range(5):
        safe_status = SafeStatusFactory()
        SafeLastStatus.objects.get_or_generate(safe_status.address)
        MultisigTransactionFactory(safe=safe_status.address, origin={})
    MultisigTransactionFactory(ethereum_tx=None)  # It shouldn't be deleted
    MultisigTransactionFactory(origin="Something")  # It shouldn't be deleted
    self.assertEqual(MultisigTransaction.objects.count(), 7)
    self.assertIsNone(index_service.reprocess_all())
    self.assertEqual(SafeStatus.objects.count(), 0)
    self.assertEqual(SafeLastStatus.objects.count(), 0)
    self.assertEqual(MultisigTransaction.objects.count(), 2)