Contents Unit Test Mock Spy Difference between Mock and Spy Difference Between doReturn()/when and When/thenReturn()¬† Ways to Initialize the Mocks Why Mockito does not mock static methods Mocking a Static Method of an external class Mocking static void method call¬†... Continue Reading →