Ejemplo n.º 1
0
 private QuestionGroupDetail getQuestionGroupDetail(int id, String title, boolean active) {
   QuestionGroupDetail questionGroupDetail = new QuestionGroupDetail();
   questionGroupDetail.setId(id);
   questionGroupDetail.setTitle(title);
   questionGroupDetail.setActive(active);
   return questionGroupDetail;
 }
Ejemplo n.º 2
0
 private void assertQuestionGroup(QuestionGroupDetail questionGroupDetail, int id, String title) {
   assertThat(questionGroupDetail.getId(), is(id));
   assertThat(questionGroupDetail.getTitle(), is(title));
 }