public function testFetchAllOnFailure()
{
$reqp = $this->prophesize('Hirak\\Prestissimo\\CopyRequest');
$reqp->getCurlOptions()->willReturn(array(CURLOPT_URL => 'file://uso800.txt', CURLOPT_FILE => tmpfile()));
$this->iop->writeError(" Finished: <comment>success: 0, skipped: 0, failure: 1, total: 1</comment>", true, IOInterface::VERBOSE)->shouldBeCalledTimes(1);
$fetcher = new Prefetcher();
$fetcher->fetchAll($this->iop->reveal(), array($reqp->reveal()));
}