if (null != osFamily) {
node = new NodeEntryImpl("blah");
node.setOsFamily(osFamily);
}
ExecArgList arglist = ScriptExecUtil.createScriptArgList(
filepath, null,
args,
scriptinterpreter,
interpreterargsquoted
);
ArrayList<String> scriptArgs = arglist.buildCommandForNode(dataContext, osFamily);
Assert.assertArrayEquals(scriptArgs.toString(), expected, scriptArgs.toArray(new String[scriptArgs.size()]));
}