Assert.assertEquals("process", operation.getName());
Assert.assertEquals(RulesOperationType.FIRE_UNTIL_HALT, 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());
Assert.assertEquals("message.content", outputModel.getTo());
FaultModel faultModel = operation.getFaults().getFaults().get(0);
Assert.assertEquals("faultVar", faultModel.getFrom());