caseService
.withCaseDefinitionByKey(CASE_DEFINITION_KEY)
.setVariable("aShortValue", (short) 123)
.create();
CaseExecutionQuery query = caseService.createCaseExecutionQuery();
query.variableValueLessThanOrEqual("aShortValue", (short) 124);
verifyQueryResults(query, 1);
query = caseService.createCaseExecutionQuery();
query.variableValueLessThanOrEqual("aShortValue", (short) 123);
verifyQueryResults(query, 1);
}