getExecuted() public method

public getExecuted ( ) : string
return string whether the command was successfully executed
 public function testCanProvideProcDir()
 {
     $tmpDir = sys_get_temp_dir();
     $command = new Command('pwd');
     $command->procCwd = $tmpDir;
     $this->assertFalse($command->getExecuted());
     $this->assertTrue($command->execute());
     $this->assertTrue($command->getExecuted());
     $this->assertEquals($tmpDir, $command->getOutput());
 }