@Test
public void should_call_get_ids_by_case_id_of_case_photo_dao() throws Exception {

    when(casePhotoDao.getIdsByCaseId(anyLong())).thenReturn(Collections.EMPTY_LIST);
    casePhotoService.getIdsByCaseId(123L);
    verify(casePhotoDao, times(1)).getIdsByCaseId(123L);
}