* Test that the {@link LaunchConfigurationImpl#getCommandLine()} method works properly when no
* executable arguments are given.
*/
public void testGetCommandLineWithoutArgumentsOk() {
LaunchConfiguration launchConfig =
new LaunchConfigurationImpl(1, "cwd", "/path/to/foo", new String[0], 0, "(foo=bar)", "(qux=quu)", false);
String[] commandLine = launchConfig.getCommandLine();
assertNotNull(commandLine);
assertEquals(1, commandLine.length);
assertEquals("/path/to/foo", commandLine[0]);
assertEquals("cwd", launchConfig.getWorkingDirectory().getName());
assertNotNull(launchConfig.getProcessStreamListener());
assertFalse(launchConfig.isRespawnAutomatically());
}