/** * 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()); }