Hirak\Prestissimo\PrefetcherTest::setUp PHP Method

setUp() protected method

protected setUp ( )
    protected function setUp()
    {
        $this->iop = $this->prophesize('Composer\\IO\\IOInterface');
        $this->configp = $configp = $this->prophesize('Composer\\Config');
        $configp->get('github-domains')->willReturn(array('github.com'));
        $configp->get('gitlab-domains')->willReturn(array('gitlab.com'));
        $configp->get('cache-files-dir')->willReturn(sys_get_temp_dir());
    }