/**
* Test {@link SurveyTemporalResult} domain.
*/
@Test
public void testSurveyTemporalResult() {
final SurveyTemporalResult result = new SurveyTemporalResult();
final QuestionAnswer qAnswers = createQuestionAnswer("Yes",
this.initQuestion, "ORFQT31");
result.setAnswer(qAnswers);
result.setQuestion(this.initQuestion);
result.setSurvey(this.initSurvey);
result.setTxtResponse("3 Cups");
// result.setIdTempResult(1L);
result.setHash("Jks193'5");
getSurveyDaoImp().saveOrUpdate(result);
assertNotNull(result.getAnswer());
assertNotNull(result.getSurvey());
assertNotNull(result.getTxtResponse());
assertNotNull(result.getHash());
}