Java example from the "Growing Object-Oriented Software, Guided by Tests" book by S. Freeman and N.Pryce