public void testQueryByInvalidIncidentType() {
HistoricIncidentQuery query = historyService.createHistoricIncidentQuery();
assertEquals(0, query.incidentType("invalid").list().size());
assertEquals(0, query.incidentType("invalid").count());
try {
query.incidentType(null);
fail("It was possible to set a null value as incidentType.");
} catch (ProcessEngineException e) { }