Simply add the dependencies below to your pom.xml.
NOTE: You will need JUnit version 4.4 or earlier. I couldn't get Mockito to work with higher JUnit versions. Also, I did not try any prior version than Junit 4.4.
org.mockito mockito-all 1.8.5 test junit junit 4.4 test
Update: I got Mockito 1.8.5 to work with JUnit 4.7. Not sure what changed.
No comments:
Post a Comment
Your comments are welcome. It will help me improve my communication and content...plus it will encourage me! :-)