/**
* Test {@link UnitSurveySection}.
*/
@Test
public void testUnitSurveySectionBean(){
final UnitSurveySection surveySectionBean = new UnitSurveySection();
final List<QuestionBean> questionBeanList = new ArrayList<QuestionBean>();
questionBeanList.add(new QuestionBean("First Question"));
questionBeanList.add(new QuestionBean("Second Question"));
questionBeanList.add(new QuestionBean("Third Question"));
surveySectionBean.setId(1);
surveySectionBean.setName("main section");
surveySectionBean.setShowPanel(Boolean.TRUE);
surveySectionBean.setStateId(1);
surveySectionBean.setListQuestions(questionBeanList);
assertNotNull(surveySectionBean.getId());
assertNotNull(surveySectionBean.getName());
assertNotNull(surveySectionBean.getShowPanel());
assertNotNull(surveySectionBean.getStateId());
assertNotNull(surveySectionBean.getListQuestions());
}