Inheritance: implements PhpBench\Environment\ProviderInterface
Exemplo n.º 1
0
 /**
  * It should not be applicable if GIT is not available.
  */
 public function testNotApplicableIfGitNotFound()
 {
     $exeFinder = $this->prophesize(ExecutableFinder::class);
     $exeFinder->find('git', false)->willReturn(false);
     $provider = new Provider\Git($exeFinder->reveal());
     $this->assertFalse($provider->isApplicable());
 }