Contact Us 1-800-596-4880

MUnit Cookbook

This section links to examples that demonstrate common MUnit usages.

Example Description

Mocking test code for your MUnit tests.

Mocking a processor that can return different payloads.

Mocking expected errors in your code.

Loading different environment values to your MUnit tests.

Using custom Java classes in your MUnit tests.

Configuring an FTP utility to test your FTP server connections.

Configuring a database utility to test your database connections.

Configuring MUnit to run against a patched Mule runtime engine version.

Testing Mule applications that inherit a Mule domain.

Testing a flow that is triggered by a scheduler.

Using the MUnit test recorder.

Ensuring that the assertions check the content of the stored variable.