//@Test
// removing until we start supporting global tasks
public void testScriptTaskUnmarshalling() throws Exception {
Bpmn2JsonUnmarshaller unmarshaller = new Bpmn2JsonUnmarshaller();
Definitions definitions = ((Definitions) unmarshaller.unmarshall(getTestJsonFile("scriptTask.json"), "").getContents().get(0));
assertTrue(definitions.getRootElements().size() == 1);
GlobalScriptTask task = (GlobalScriptTask) definitions.getRootElements().get(0);
assertEquals("my script", task.getName());
assertEquals("git status | grep modified | awk '{print $3}' | xargs echo | xargs git add", task.getScript());
assertEquals("bash", task.getScriptLanguage());