@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()); } }