@SuppressWarnings("unchecked")
public void testInputNested() {
runtimeService.startProcessInstanceByKey("testProcess");
Execution execution = runtimeService.createExecutionQuery().activityId("wait").singleResult();
VariableInstance var1 = runtimeService.createVariableInstanceQuery().variableName("var1").singleResult();
TreeMap<String, Object> value = (TreeMap) var1.getValue();
List<Object> nestedList = (List<Object>) value.get("a");
assertEquals("stringInListNestedInMap", nestedList.get(0));
assertEquals("b", nestedList.get(1));
VariableInstance var2 = runtimeService.createVariableInstanceQuery().variableName("var2").singleResult();
assertNotNull(var2);
assertEquals("stringConstantValue", var2.getValue());
assertEquals(execution.getId(), var2.getExecutionId());
}