@Deployment(resources = {"org/activiti/rest/api/jpa/jpa-process.bpmn20.xml"})
public void testGetJpaVariableViaHistoricVariablesCollections() throws Exception {
// Get JPA managed entity through the repository
Message message = messageRepository.findOne(1L);
assertNotNull(message);
assertEquals("Hello World", message.getText());
// add the entity to the process variables and start the process
Map<String, Object> processVariables = new HashMap<String, Object>();
processVariables.put("message", message);