@Test public void test1Save() { try { CommunicationGroup communicationgroup = new CommunicationGroup(); communicationgroup.setCommGroupDescription( "ZkH2cJTLgVlgeXzBPuMLJDDjeRX5XbbMsceMpXwdgaX2iNmE7K"); communicationgroup.setCommGroupName("gr7XupPhNgaCi6TrfyW076hhrJSuQzolAUERglMQM8vf814BoW"); communicationgroup.setEntityAudit(1, "xyz", RECORD_TYPE.ADD); communicationgroup.setEntityValidator(entityValidator); communicationgroup.isValid(); communicationgroupRepository.save(communicationgroup); map.put("CommunicationGroupPrimaryKey", communicationgroup._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()); } }