public function testIteratorCurrent() { $map = new CMap(array('key1' => 'value1', 'key2' => 'value2')); $val = $map->getIterator()->current(); $this->assertEquals('value1', $val); }