Also look at the Javadoc for org.hamcrest.Matchers.
Thank you, I've already looked at matchers, but didn't find any which would
suit my needs, so it seems I would need to create my own matcher, however I am
really confused why there's no implementation of such simple task. Probably I
am still missing something?