jobType.set(JobTypeType.SERIAL);
ApplicationContext appContext = getApplicationContext();
appContext.setApplicationDeploymentDescription(getApplicationDesc(jobType));
jobExecutionContext.setApplicationContext(appContext);
JobDefinitionDocument jobDefDoc = JSDLGenerator.buildJSDLInstance(jobExecutionContext);
assertTrue(jobDefDoc.getJobDefinition().getJobDescription().getApplication().toString().contains("/bin/cat"));
assertTrue(jobDefDoc.getJobDefinition().getJobDescription().getDataStagingArray().length > 2);
assertTrue(jobDefDoc.getJobDefinition().getJobDescription().getJobIdentification().getJobProjectArray().length > 0);
assertFalse(JSDLUtils.getPOSIXApplication(jobDefDoc.getJobDefinition()) == null);
assertEquals("jsdl_stdout", JSDLUtils.getOrCreatePOSIXApplication(jobDefDoc.getJobDefinition()).getOutput()
.getStringValue().toString());
}