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.