Example #1
0
 public function testExecuteCommand_ReturnsFalseForInvalidCommands()
 {
     $returnValue = $this->testedExecutor->executeCommand(array('eerfdcvcho "%s" > /dev/null 2>&1', 'Hello World'));
     $this->assertFalse($returnValue);
 }