Sunday, May 28, 2017

Java with JUnit and Mockito

In this blog we are going to see how we can test with Junit with the help of Mockito for mocking objects.

1. Create Maven project in your eclipse




2. Add dependencies for JUnit and Mockito


3. Now we need to create class



https://springframework.guru/mocking-unit-tests-mockito/

System Design :: Performace Tuning: Scaling, Resiliency, persistence

Netflix System Deisgn