@Test
 public void test1Save() {
   try {
     SurveyQuestionGroup surveyquestiongroup = new SurveyQuestionGroup();
     surveyquestiongroup.setSurveyQuestionGroupDesc(
         "AZAGltIgTh84ncvYqbPwSNMq6pHlvpWTLkZd2HHDDEJo3D9E5a");
     surveyquestiongroup.setSurveyQuestionGroupName(
         "NRdcVr4HUvoTMdJKnAJ3kCGBI8Sv3HRGbLO3KQboTuaB2DLFMG");
     surveyquestiongroup.setEntityAudit(1, "xyz", RECORD_TYPE.ADD);
     surveyquestiongroup.setEntityValidator(entityValidator);
     surveyquestiongroup.isValid();
     surveyquestiongroupRepository.save(surveyquestiongroup);
     map.put("SurveyQuestionGroupPrimaryKey", surveyquestiongroup._getPrimarykey());
   } catch (com.athena.framework.server.exception.biz.SpartanConstraintViolationException e) {
     org.junit.Assert.fail(e.getMessage());
   } catch (java.lang.Exception e) {
     org.junit.Assert.fail(e.getMessage());
   }
 }
 @Test
 public void test2Update() {
   try {
     org.junit.Assert.assertNotNull(map.get("SurveyQuestionGroupPrimaryKey"));
     SurveyQuestionGroup surveyquestiongroup =
         surveyquestiongroupRepository.findById(
             (java.lang.Integer) map.get("SurveyQuestionGroupPrimaryKey"));
     surveyquestiongroup.setSurveyQuestionGroupDesc(
         "x8P5OYcHtJc4MnuLnmleLSz8H2HGZNdJI2v2jz8AiGOr6DHQKu");
     surveyquestiongroup.setSurveyQuestionGroupName(
         "gbWptYMuB0NepGd1TEdiRrmFCYHVEuyhEFdjYvYAL3x9lNjcJg");
     surveyquestiongroup.setVersionId(1);
     surveyquestiongroup.setEntityAudit(1, "xyz", RECORD_TYPE.UPDATE);
     surveyquestiongroupRepository.update(surveyquestiongroup);
   } catch (com.athena.framework.server.exception.repository.SpartanPersistenceException e) {
     org.junit.Assert.fail(e.getMessage());
   } catch (java.lang.Exception e) {
     org.junit.Assert.fail(e.getMessage());
   }
 }