BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
79 / 81 · Module 18 — Interview Coding Scenarios · filtered: interview← prev⊞ allnext →

18.47The corresponding MUnit story

Say:

“For the happy path, I'd set the inbound customer event, mock Salesforce Account Upsert to return a known Account ID, mock Contact Upsert, execute the real flow, assert the API response and verify both connector operations. Then I'd have separate tests for missing customer ID, Salesforce connectivity failure, Account success plus Contact failure, and invalid Salesforce data.”

That's sufficient even if they don't ask for XML.