assertEquals(4, query.count());
assertTrue((Boolean) query.variableName("complete").singleResult().getValue());
assertEquals(1, query.variableName("completeEventCounter").singleResult().getValue());
assertEquals(1, query.variableName("eventCounter").singleResult().getValue());
}
@Deployment(resources = {"org/camunda/bpm/engine/test/task/TaskListenerTest.testCompleteListenerByScript.cmmn"})
public void testCompleteListenerByScript() {