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

14.42Test-data setup APIs

Best tests don't manually prepare Salesforce state.

Create helpers such as:

createSalesforceAccount()
deleteSalesforceAccount()
createSourceCustomer()
publishCustomerEvent()

or, better where available:

supported test/setup APIs

Then each test owns its setup.