11 / 18 · Module 14 — External Automated Testing of Mule Integrations · filtered: cheatsheet← prev⊞ allnext →
14.20Count matters
Don't merely query:
SELECT Id
FROM Account
WHERE External_Customer_ID__c = 'IDEMP-100'
LIMIT 1
That would still pass with three duplicates.
For idempotency, explicitly verify:
record count = 1
Then inspect the one record.