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