/** * @covers ::createDescriptors */ public function test_createDescriptors() { $Expected = array(Command::STDIN => array('pipe', 'r'), Command::STDOUT => array('pipe', 'w'), Command::STDERR => array('pipe', 'w')); $this->assertEquals($Expected, $this->Command->createDescriptors(), 'ShellCommand::createCommandLine() returned an invalid result'); }