To compare that two collections have the same number of elements, for example
assertThat($cats, sameSize($dogs));
Alternatively--or in addition--overload arrayWithSize() to accept another array
and use its count.
assertThat($cats, arrayWithSize($dogs));
Original issue reported on code.google.com by dharkn...@gmail.com on 8 Feb 2012 at 2:25
Original issue reported on code.google.com by
dharkn...@gmail.com
on 8 Feb 2012 at 2:25