@Test
public void findAll_NoTodoEntriesFound_ShouldReturnEmptyListAsJSonDocument() throws Exception {

    when(todoCrudServiceMock.findAll()).thenReturn(new ArrayList<TodoDTO>());
    mockMvc.perform(get("/api/todo"))
            .andExpect(status().isOk())
            .andExpect(content().contentType(WebTestConstants.APPLICATION_JSON_UTF8))
            .andExpect(jsonPath("$", hasSize(0)));
    verify(todoCrudServiceMock, times(1)).findAll();
    verifyNoMoreInteractions(todoCrudServiceMock);
    verifyZeroInteractions(todoSearchServiceMock);
}