/** * @covers ::isSystemCallInterupt */ public function test_isSystemCallInterupt() { $this->assertTrue($this->Command->isSystemCallInterupt(array('message' => ' Interrupted system call')), 'ShellCommand::isSystemCallInterupt() returned an invalid value'); $this->assertFalse($this->Command->isSystemCallInterupt(array('message' => 'okay system call')), 'ShellCommand::isSystemCallInterupt() returned an invalid value'); }