public void testExecute() {
ProcessDefinition processDefinition = ProcessDefinition.createNewProcessDefinition();
ProcessInstance processInstance = new ProcessInstance(processDefinition);
Token token = processInstance.getRootToken();
ExecutionContext executionContext = new ExecutionContext(token);
ContextInstance contextInstance = executionContext.getContextInstance();
contextInstance.setVariable("a", new Integer(1));
contextInstance.setVariable("b", new Integer(1));
Script script = new Script();
script.addVariableAccess(new VariableAccess("a", "read,write", null));