Mockito tutorials

Mockito is a popular mocking framework. It is a JAVA-based mockito library that is used for unit testing of JAVA applications. Mockito is usually used to mock interfaces or classes so that a dummy functionality can be added to a mock interface that can be used in unit testing. This tutorial mainly helps you to learn how to create unit tests with Mockito as well as how to use its APIs in a simple and effective way.

What is Mocking?
Why Need for mocking?
What are the Benefits of Mockito?
How to mock interface using Mockito example?
Mockito and JUnit Integration Using Maven Example
@Mock and @Spy Mockito Annotations With Example
@InjectMocks Annotation in Mockito with Example
Mockito – Verifying Method Calls
@Captor Annotation in Mockito with Example
Adding behavior to mocked object in Mockito
Mocking Void Methods with Mockito
Mocking Exception Throwing using Mockito
Mockito’s mock Overloaded Methods

 

That’s all about Mockito tutorials
If you have any feedback or suggestion please feel free to drop in below comment box.