assertNotNull(firstHumanTask);
assertTrue(firstHumanTask.isEnabled());
assertFalse(firstHumanTask.isActive());
// (2) one case case execution representing "PI_HumanTask_2"
CaseExecution secondHumanTask = caseExecutionQuery
.activityId("PI_HumanTask_2")
.singleResult();
assertNotNull(secondHumanTask);
assertTrue(secondHumanTask.isEnabled());