Using hamcrest matchers