BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
42 / 81 · Module 13 — MUnit · filtered: interview← prev⊞ allnext →

13.39What should NOT always be mocked?

Some tests need real integration infrastructure.

Examples:

Does this SOQL actually work?

Does Salesforce External ID really enforce uniqueness?

Does restricted integration user have the required permissions?

Does the real Salesforce validation rule reject this record?

Does OAuth configuration work?

Does Bulk API handle our actual object schema?

MUnit mocks cannot prove those.