hasSize overload for just taking an integer
JLLeitschuh opened this issue · 0 comments
JLLeitschuh commented
Something that would just make writing test simpler:
/**
* Matches a collection with a size that is equal to [size].
*/
fun hasSize(size: Int) = has(Collection<Any>::size, equalTo(size))