Example 9 : Leveraging Hamcrest matchers