2. There is no specific plugin required to set up Junit.
We can directly use java code to write functional test cases.
While creating the unit test cases for java classes in the project, we need to
mock the interfaces instead of connecting to the real systems.
To mock the end systems, need to import the jar by downloading mockito-all-
1.8.5.jar or add a dependency in maven
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.8.5</version>
</dependency>
3. The steps to be followed to install MUnit plugin in Anypoint Studio
1. Verify that your version of Studio is 5.2.0 or above.
2. Add the MUnit update site
3. Go to Help → Install New Software.
4. Studio displays the Available Software window. In the Work with: field,
paste the MUnit update site: http://studio.mulesoft.org/r4/munit