Mockito Cheatsheet
Mockito is a great framework for testing in java. I use it all the time and have done for many years now. It works hand in hand with dependnecy injection, a topic I covered in my last blog "Spring for Humans". However I sometimes find it's a victim o...
stacktobasics.com7 min read
Sayan Das
Code. Run. Lift. Race
In Section 'Stubbing a Void Method -> Calling the Real Implementation', I think the last comment is wrong where it says the test will pass when the exception is thrown. Maybe a copy paste issue?