contextInstance.setVariable("c", new Integer(1) );
Script script = new Script();
script.addVariableAccess(new VariableAccess("a", "write", null));
script.addVariableAccess(new VariableAccess("b", "write-required", null));
Map inputMap = script.createInputMap(new ExecutionContext(token));
assertEquals(new Integer(1), inputMap.get("a"));
assertEquals(new Integer(1), inputMap.get("b"));
assertEquals(new Integer(1), inputMap.get("c"));
}