function testReduce()
 {
     $iterator = new ArrayIterator([0, 5]);
     $max = $iterator->reduce(-5, 'max');
     $this->assertEquals(5, $max);
 }