use of org.camunda.bpm.engine.test.history.SerializableVariable in project camunda-bpm-platform by camunda.
the class RuntimeServiceTest method testChangeSerializableInsideEngine.
@Deployment
@Test
public void testChangeSerializableInsideEngine() {
runtimeService.startProcessInstanceByKey("testProcess");
Task task = taskService.createTaskQuery().singleResult();
SerializableVariable var = (SerializableVariable) taskService.getVariable(task.getId(), "variableName");
assertNotNull(var);
}
Aggregations