11 / 18 · Module 14 — External Automated Testing of Mule Integrations · filtered: cheatsheet← prev⊞ allnext →
14.17Test "no side effect"
For invalid input:
POST /customers
→ 400
then SOQL:
SELECT Id
FROM Account
WHERE External_Customer_ID__c = :testId
Expected:
0 records
This proves validation happens before the write.