Exemplo n.º 1
0
 public function setUp()
 {
     $this->cache = $this->prophesize('iakio\\phpunit\\smartrunner\\Cache');
     $this->fs = $this->prophesize('iakio\\phpunit\\smartrunner\\FileSystem');
     $this->phpunit = $this->prophesize('iakio\\phpunit\\smartrunner\\Phpunit');
     $this->command = new RunCommand($this->phpunit->reveal(), $this->cache->reveal(), $this->fs->reveal());
     $this->fs->cacheDirExists()->willReturn(true);
 }