@Test
public void should_return_displayed_index() throws Exception {

    when(incidentService.getAll()).thenReturn(Collections.EMPTY_LIST);
    int index = incidentListPresenter.calculateDisplayedIndex();
    assertThat("Should return 1 when incidents is empty", index, is(1));
}