}
// Incident ///////////////////////////////////////
public static Incident createMockIncident() {
Incident incident = mock(Incident.class);
when(incident.getId()).thenReturn(EXAMPLE_INCIDENT_ID);
when(incident.getIncidentTimestamp()).thenReturn(DateTimeUtil.parseDate(EXAMPLE_INCIDENT_TIMESTAMP));
when(incident.getIncidentType()).thenReturn(EXAMPLE_INCIDENT_TYPE);
when(incident.getExecutionId()).thenReturn(EXAMPLE_INCIDENT_EXECUTION_ID);
when(incident.getActivityId()).thenReturn(EXAMPLE_INCIDENT_ACTIVITY_ID);
when(incident.getProcessInstanceId()).thenReturn(EXAMPLE_INCIDENT_PROC_INST_ID);
when(incident.getProcessDefinitionId()).thenReturn(EXAMPLE_INCIDENT_PROC_DEF_ID);
when(incident.getCauseIncidentId()).thenReturn(EXAMPLE_INCIDENT_CAUSE_INCIDENT_ID);
when(incident.getRootCauseIncidentId()).thenReturn(EXAMPLE_INCIDENT_ROOT_CAUSE_INCIDENT_ID);
when(incident.getConfiguration()).thenReturn(EXAMPLE_INCIDENT_CONFIGURATION);
when(incident.getIncidentMessage()).thenReturn(EXAMPLE_INCIDENT_MESSAGE);
return incident;
}