Unifying use of hamcrest matcher methods