Code examples from the book "Practical Unit Testing with JUnit and Mockito" by Tomek Kaczanowski, 2013