ProcessDefinitionQuery query = repositoryService.createProcessDefinitionQuery();
verifyQueryResults(query.incidentMessage("invalid"), 0);
try {
query.incidentMessage(null);
fail();
} catch (ProcessEngineException e) {}
}
@org.camunda.bpm.engine.test.Deployment(resources={"org/camunda/bpm/engine/test/api/repository/failingProcessCreateOneIncident.bpmn20.xml"})