@Test
public void should_save_case_when_give_item_values() throws Exception {

    CaseService caseServiceSpy = spy(caseService);
    String uuid = UUID.randomUUID().toString();
    when(caseServiceSpy.generateUniqueId()).thenReturn(uuid);
    ItemValuesMap itemValues = new ItemValuesMap();
    Case actual = caseServiceSpy.save(itemValues, Collections.EMPTY_LIST);
    when(caseDao.save(any(Case.class))).thenReturn(actual);
    assertThat("Should have save url", actual.getServerUrl(), is(TextUtils.lintUrl("https://35.61.56.113:8443")));
    assertThat("Should have save uuid.", actual.getUniqueId(), is(uuid));
    verify(caseDao, times(1)).save(any(Case.class));
}