Example #1
0
 public function testConstructSetsPathAndProcessInstanceCorrectly()
 {
     $path = '/usr/bin/git';
     $process = new Process();
     $git = new Git($path, $process);
     $this->assertSame($path, $git->getPath());
     $this->assertSame($process, $git->getProcess());
 }