def METHOD_NAME(self):
    payment_method = PaymentMethodFactory.create(
        payment_processor=triggered_processor,
        verified=True
    )
    transactions = TransactionFactory.create_batch(
        5, payment_method=payment_method
    )
    filtered_transactions = [
        transactions[0], transactions[2], transactions[4]
    ]
    mock_execute = MagicMock()
    with patch.multiple(TriggeredProcessor,
                        execute_transaction=mock_execute):
        transactions_arg = [
            str(transaction.pk) for transaction in filtered_transactions
        ]
        call_command('execute_transactions',
                     '--transactions=%s' % ','.join(transactions_arg))
        for transaction in filtered_transactions:
            self.assertIn(call(transaction), mock_execute.call_args_list)
        self.assertEqual(mock_execute.call_count, len(filtered_transactions))