215 / 278 · Module 14 — External Automated Testing of Mule Integrations · filtered: code← 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.