BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
49 / 81 · Module 14 — External Automated Testing of Mule Integrations · filtered: interview← prev⊞ allnext →

14.28Salesforce relationship tests

For input:

{
  "customerId": "C001",
  "contacts": [
    {
      "contactId": "P001",
      "firstName": "John",
      "lastName": "Smith"
    }
  ]
}

Verify:

Account exists

Contact exists

Contact.AccountId
==
Account.Id

Do not merely verify both records independently.

The relationship is part of the integration.