@Test
public void should_return_zero_when_incident_list_exits() throws Exception {

    List<Incident> incidents = Arrays.asList(new Incident());
    when(incidentService.getAll()).thenReturn(incidents);
    assertThat("Should return 0 when incident exits", incidentListPresenter.calculateDisplayedIndex(), is(0));
    verify(incidentService, times(1)).getAll();
}