Mocking, Stubbing and Test Spying using the Mockito Framework and PowerMock
Sunday, March 27th, 2011
Today we’re going to take a look at the Mockito framework that not only does sound like my favourite summer cocktail but also offers nice testing, mocking/stubbing, test-spying features and mock injections.
After that we’re going to take a look on how to mock static or final classes by extending Mockito’s capabilities with PowerMock.