use of org.camunda.bpm.engine.history.HistoricCaseInstanceQuery in project camunda-bpm-platform by camunda.
the class HistoricCaseInstanceTest method testQueryByInvalidSubCaseInstanceId.
public void testQueryByInvalidSubCaseInstanceId() {
HistoricCaseInstanceQuery query = historyService.createHistoricCaseInstanceQuery();
query.subCaseInstanceId("invalid");
assertEquals(0, query.count());
assertEquals(0, query.list().size());
query.caseInstanceId(null);
assertEquals(0, query.count());
assertEquals(0, query.list().size());
}
Aggregations