/** * @test */ public function getCommandPath() { $object = new GitCommand(); $object->setCommandPath('ls'); $actual = $object->execute(); $this->assertTrue(is_array($actual)); $this->assertNotEmpty($actual); }