sebastianbergmann/phpunit — pull request #1124 by drjayvee (2014-01-30 18:20:58+00:00)
Title: Fixed a bug in PHPUnit_Framework_Constraint_Count

For instances of Iterator, it called [iterator_count](http://php.net/manual/en/function.iterator-count.php), which (unfortunately) changes the instance's key. This fix `rewind`s the iterator's key to where it was.

Includes tests! Yay!