@Test
public void should_call_count_un_synced_by_case_photo_dao() throws Exception {

    when(casePhotoDao.countUnSynced(anyLong())).thenReturn(1L);
    boolean actual = casePhotoService.hasUnSynced(123L);
    verify(casePhotoDao, times(1)).countUnSynced(123L);
    assertTrue("When hasUnSynced() is more than zero, should return true", actual);
}