/** @throws Exception */ @Test public void find() throws Exception { QuestionType qt = questionTypeService.find(QuestionType.Type.SINGLE_CHOICE_LIST, AnswerDataType.BOOLEAN); assertNotNull(qt); }
/** @throws Exception */ @Test public void findForUser() throws Exception { User patient1 = userService.findUserByLogin("sysuser1"); assertNotNull(patient1); QuestionType qt = questionTypeService.find( patient1.getId(), QuestionType.Type.SINGLE_CHOICE_LIST, AnswerDataType.BOOLEAN); assertNotNull(qt); }