I am using hamcrest Matchers and I don't find contains, containsInAnyOrder, hasItems and containsInRelativeOrder solve that need.
I need a matcher like:
Its some kind of hasExactlyItems() or containsInAnyOrderAndCardinality()
I would recommend to use AssertJ for this purpose. It has lot of fluent assertions for the collections like: