public function testScrapeItemModificationFailure()
 {
     $this->crawler->expects($this->once())->method('getNextUrls')->will($this->returnValue([]));
     $this->parser->expects($this->once())->method('parse')->will($this->throwException(new ModificationException()));
     $this->dispatcher->expects($this->once())->method('dispatch')->with(ScraperEvents::ITEM_FAILED, $this->isInstanceOf(FailedItemEvent::class));
     $this->scraper->scrape(new ScraperEntity(), 'http://example.org');
 }