BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
49 / 81 · Module 14 — External Automated Testing of Mule Integrations · filtered: interview← 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.