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/

2 comments:

  1. Brilliant blog I visit this blog it's incredibly awesome. Curiously, in this blog content formed doubtlessly and sensible. The substance of information is helpful.
    Workday Online Training

    ReplyDelete
  2. Brilliant blog I visit this blog it's incredibly awesome. Curiously, in this blog content formed doubtlessly and sensible. The substance of information is helpful.
    Workday Online Training

    ReplyDelete

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...