* Test that the {@link LaunchConfigurationImpl#getCommandLine()} method works properly when two
* executable arguments are given.
*/
public void testGetCommandLineWithTwoArgumentsOk() {
LaunchConfiguration launchConfig =
new LaunchConfigurationImpl(1, "/path/to/foo", new String[] { "-qux", "-bar" }, null, true);
String[] commandLine = launchConfig.getCommandLine();
assertNotNull(commandLine);
assertEquals(3, commandLine.length);
assertEquals("/path/to/foo", commandLine[0]);
assertEquals("-qux", commandLine[1]);
assertEquals("-bar", commandLine[2]);
assertNull(launchConfig.getProcessStreamListener());
assertTrue(launchConfig.isRespawnAutomatically());
}