200 / 278 · Module 14 — External Automated Testing of Mule Integrations · filtered: code← prev⊞ allnext →
14.7Verifying Salesforce
There are several possible approaches.
Best case:
test-only/support API
or:
Salesforce API
that lets automation query:
SELECT
Id,
Name,
Phone
FROM Account
WHERE External_Customer_ID__c = :customerId
Then assert:
one Account exists
Name correct
Phone correct