public function testNoDirectoryExist() { $iterator = new HistoryIterator($this->xmlDecoder->reveal(), 'foobar_not_exist'); $iterator->current(); }