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/

Interview Prep: Java full stack

 SOLID principle :  https://www.educative.io/answers/what-are-the-solid-principles-in-java Design Pattern:  Creational:  https://medium.com...