Mockito, Spy, PowerMock

Mockito

Mockito Mocks vs. Spies Mock – bare-bones shell instance

Spy – wrap an existing instance

PowerMock final classes without interfaces static methods privates