MUnit Message Processors
MUnit has a set of dedicated message processors aimed to validate, assert and mock the content and status of the Mule message so you can run automatic tests against your Mule application.
The MUnit message processors allow you to:
-
Simulate a specific behavior for a message processor with a Mock Message Processor.
-
Lay out a Mule message using the Set Message Processor.
-
Define a verification to validate a message processor’s call with a Verify Message Processor.
-
Inspect the status of the mule message before and after it reaches certain Message Processor through a Spy Message Processor.
-
Validate the content and status of the Mule message with the Assert Message Processor.