@Test
public void should_return_incident_by_uniqueId() {

    String uniqueId = "uniqueId";
    Incident incident = mock(Incident.class);
    when(incidentDao.getIncidentByUniqueId(uniqueId)).thenReturn(incident);
    assertThat(incidentService.getByUniqueId(uniqueId), is(incident));
    verify(incidentDao, times(1)).getIncidentByUniqueId(uniqueId);
}