@Test public void test3FindById() { try { org.junit.Assert.assertNotNull(map.get("CommunicationGroupPrimaryKey")); communicationgroupRepository.findById( (java.lang.String) map.get("CommunicationGroupPrimaryKey")); } catch (com.athena.framework.server.exception.repository.SpartanPersistenceException e) { org.junit.Assert.fail(e.getMessage()); } catch (Exception e) { e.printStackTrace(); } }
@Test public void test2Update() { try { org.junit.Assert.assertNotNull(map.get("CommunicationGroupPrimaryKey")); CommunicationGroup communicationgroup = communicationgroupRepository.findById( (java.lang.String) map.get("CommunicationGroupPrimaryKey")); communicationgroup.setCommGroupDescription( "TPd08jDeIHZyKAGZzsxzFNslbaB0fxNuVbaVJSrJQJFVn9gNRD"); communicationgroup.setCommGroupName("DxZuyQOgZZA8DtosJIID7qwWv4mpuy42T7bza1tJFHnSEHfiVj"); 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) { e.printStackTrace(); } }