Unit Testing with Mockito.
Creating mock objects with Mockito
What is method stubbing?
Subbing multiple method calls
Using when-thenThrow()
Understanding ArgumentMatchers
Using ArgumentMatchers static methods
Mockito.verify() example
Verify behavior with Argument Matchers
Verifying exact number of invocations or at least x or at most x or never
Mockito.verifyNoMoreInteractions() and Mockito.verifyNoInteractions() Examples
BDD (Behavior-driven development) stubbing
BDD Style Behavior Verification
Using Mockito.spy()