Example #1
0
 public function testZF6995_toArrayDoesNotDisturbInternalIterator()
 {
     $config = new Config(range(1, 10));
     $config->rewind();
     $this->assertEquals(1, $config->current());
     $config->toArray();
     $this->assertEquals(1, $config->current());
 }