/** * @covers ::createCommandLine */ public function test_createCommandLine() { $Expected = 'php -x foo foo.php'; $this->Input->Options[0] = new GenericOption('x', 'foo'); $this->Input->Arguments[] = new GenericArgument('foo.php'); $this->assertEquals($Expected, $this->Command->createCommandLine('php', $this->Input), 'ShellCommand::createCommandLine() returned an invalid result'); }