public void testQueryByInvalidResolved() {
HistoricIncidentQuery query = historyService.createHistoricIncidentQuery();
try {
query.resolved().resolved();
fail("It was possible to set a the resolved flag twice.");
} catch (ProcessEngineException e) { }
}
@Deployment(resources={"org/camunda/bpm/engine/test/api/runtime/oneFailingServiceProcess.bpmn20.xml"})