/**
  * @param \Iterator $it
  * @param mixed $first
  * @param mixed $last
  * @param int $count
  * @param callable $predicate
  *
  * @dataProvider dataProvider
  */
 public function testFirst(\Iterator $it, $first, $last, $count, callable $predicate = NULL)
 {
     $this->assertEquals($first, $it->first($predicate));
 }