Mock-ito

JUnit test with Mockito and Spring

It is important to be able to perform some integration testing without requiring deployment to your application server or connecting to other enterprise infrastructure. This could be done in your Spring project by using Spring-test library and Mockito framework.     Photo credit: Honey In this post, I present a simple way to create a mock…