BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
653 / 1048 · Module 14 — External Automated Testing of Mule Integrations← 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