Contact Us 1-800-596-4880

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:

  1. Simulate a specific behavior for a message processor with a Mock Message Processor.

  2. Lay out a Mule message using the Set Message Processor.

  3. Define a verification to validate a message processor’s call with a Verify Message Processor.

  4. Inspect the status of the mule message before and after it reaches certain Message Processor through a Spy Message Processor.

  5. Validate the content and status of the Mule message with the Assert Message Processor.