hasSize

fun hasSize(sizeMatcher: Matcher<Int>): Matcher<Collection<Any>>

Matches a collection with a size that matches sizeMatcher.