Assert.assertEquals("theProcessId", bpm.getProcessId());
OperationModel operation = bpm.getOperations().getOperations().get(0);
Assert.assertEquals("theEventId", operation.getEventId());
Assert.assertEquals("process", operation.getName());
Assert.assertEquals(BPMOperationType.SIGNAL_EVENT, operation.getType());
GlobalModel globalModel = operation.getGlobals().getGlobals().get(0);
Assert.assertEquals("context['foobar']", globalModel.getFrom());
Assert.assertEquals("globalVar", globalModel.getTo());
InputModel inputModel = operation.getInputs().getInputs().get(0);
Assert.assertEquals("message.content.nested", inputModel.getFrom());
Assert.assertEquals("inputVar", inputModel.getTo());
OutputModel outputModel = operation.getOutputs().getOutputs().get(0);
Assert.assertEquals("outputVar", outputModel.getFrom());