public function returns_this_project_has_git_enabled() { $this->assertTrue($this->git->isGitDir()); $this->assertTrue($this->git->isGitDir()); // check again because of internal state $this->assertTrue($this->git->isGitDir(false)); }