@Test
public void should_save_case_form_if_not_exist() throws Exception {

    CaseForm caseForm = mock(CaseForm.class);
    when(caseFormDao.getCaseForm("primeromodule-cp", PrimeroAppConfiguration.getApiBaseUrl())).thenReturn(null);
    caseFormService.saveOrUpdate(caseForm);
    verify(caseForm, times(1)).save();
}