repositoryService.createDeployment().addInputStream("expression.bpmn20.xml",
new FileInputStream(filename)).deploy();
RuntimeService runtimeService = activitiRule.getRuntimeService();
Map<String, Object> variableMap = new HashMap<String, Object>();
variableMap.put("name", "Activiti");
variableMap.put("printer", new Printer());
ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("expression", variableMap);
assertNotNull(processInstance.getId());
System.out.println("id " + processInstance.getId() + " "
+ processInstance.getProcessDefinitionId());
}