// the first historic incident has been resolved
assertEquals(1, query.resolved().count());
query = historyService.createHistoricIncidentQuery();
// a new historic incident exists which is open
assertEquals(1, query.open().count());
}
@Deployment(resources={"org/camunda/bpm/engine/test/api/runtime/oneFailingServiceProcess.bpmn20.xml"})
public void testSetHistoricIncidentToResolved() {