MuleSoft Certified Platform Architect – Level 1 — Question 8
What correctly characterizes unit tests of Mule applications?
Answer options
- A. They test the validity of input and output of source and target systems.
- B. They must be run in a unit testing environment with dedicated Mule runtimes for the environment.
- C. They must be triggered by an external client tool or event source.
- D. They are typically written using MUnit to run in an embedded Mule runtime that does not require external connectivity.
Correct answer: B
Explanation
The correct answer is B because unit tests for Mule applications require a specific environment to ensure accurate testing of individual components. Options A, C, and D are incorrect as they pertain to integration testing and other testing methodologies rather than unit tests, which focus on isolated functionality within the application.