public function current() { $this->init(); return $this->entries->current(); }
/** * It should "iterate" if the directory does not exist. */ public function testNoDirectoryExist() { $iterator = new HistoryIterator($this->xmlDecoder->reveal(), 'foobar_not_exist'); $iterator->current(); }