@Test
 public void test1Save() {
   try {
     CommunicationGroup communicationgroup = new CommunicationGroup();
     communicationgroup.setCommGroupDescription(
         "gXOGePzUBN7EpbSVBEj5eVrno74mWX3Z9Rze70ulmqVyoUgxHf");
     communicationgroup.setCommGroupName("Yks7BUYuluF53MjhJG30vy9wNWhRKQFD40hXKJN0ivjm8UjKRS");
     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());
   }
 }
 @Test
 public void test2Update() {
   try {
     org.junit.Assert.assertNotNull(map.get("CommunicationGroupPrimaryKey"));
     CommunicationGroup communicationgroup =
         communicationgroupRepository.findById(
             (java.lang.String) map.get("CommunicationGroupPrimaryKey"));
     communicationgroup.setCommGroupDescription(
         "8FLXZ3KAKL0Q5l8shPKBbYqY3PbLjkbNWU8C7K5bYeTrh4Z2A3");
     communicationgroup.setCommGroupName("VsNatqcUEN0hY6Jt45uzQZt6FFxyvOAhZi6kI149dU391GBOqG");
     communicationgroup.setVersionId(1);
     communicationgroup.setEntityAudit(1, "xyz", RECORD_TYPE.UPDATE);
     communicationgroupRepository.update(communicationgroup);
   } 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());
   }
 }