/**
* Test {@link SurveyResult} domain.
*/
@Test
public void testSurveyResult() {
final SurveyResult result = new SurveyResult();
final QuestionAnswer qAnswers = createQuestionAnswer("Spain",
this.initQuestion, "ORFQT29");
result.setAnswer(qAnswers);
result.setQuestion(this.initQuestion);
result.setSurvey(this.initSurvey);
result.setTxtResponse("20");
getSurveyDaoImp().saveOrUpdate(result);
assertNotNull(result.getAnswer());
assertNotNull(result.getQuestion());
assertNotNull(result.getTxtResponse());
assertNotNull(result.getSurvey());
}