@Test
public void testGetCommandLineArgsWin() throws CruiseControlException {

    String testExecCmd = "dir";
    String[] simpleCmd = { testExecCmd };
    ExecScript script = createExecScript(testExecCmd, null);
    TestUtil.assertArray("simpleCmd", simpleCmd, script.buildCommandline().getCommandline());
    String testExecArgs = "C:\\temp";
    script = createExecScript(testExecCmd, testExecArgs);
    String[] detailedCmd = { testExecCmd, testExecArgs };
    TestUtil.assertArray("detailedCmd", detailedCmd, script.buildCommandline().getCommandline());
}