Hirak\Prestissimo\PrefetcherTest::testFetchAllFromOperationsWithNoOperations PHP Method

testFetchAllFromOperationsWithNoOperations() public method

    public function testFetchAllFromOperationsWithNoOperations()
    {
        $opp = $this->prophesize('Composer\\DependencyResolver\\Operation\\OperationInterface');
        $opp->getJobType()->willReturn('remove');
        $this->iop->writeError(arg::any())->shouldNotBeCalled();
        $fetcher = new Prefetcher();
        $fetcher->fetchAllFromOperations($this->iop->reveal(), $this->configp->reveal(), array($opp->reveal()));
    }