コード例 #1
0
 @Test
 public void test3FindById() {
   try {
     org.junit.Assert.assertNotNull(map.get("CommunicationGroupPrimaryKey"));
     communicationgroupRepository.findById(
         (java.lang.String) map.get("CommunicationGroupPrimaryKey"));
   } catch (Exception e) {
     org.junit.Assert.fail(e.getMessage());
   }
 }
コード例 #2
0
 @Test
 public void test2Update() {
   try {
     org.junit.Assert.assertNotNull(map.get("CommunicationGroupPrimaryKey"));
     CommunicationGroup communicationgroup =
         communicationgroupRepository.findById(
             (java.lang.String) map.get("CommunicationGroupPrimaryKey"));
     communicationgroup.setCommGroupDescription(
         "RopDMomtOt6pH0Fi9y1QC7osVLlO4FiJnIWHiNbl32DodtMZdS");
     communicationgroup.setVersionId(1);
     communicationgroup.setCommGroupName("6L856A7qEFkVlpq0b5GQnahRdO8H64nFMRRCFTCDHGw7eau8ud");
     communicationgroup.setEntityAudit(1, "xyz", RECORD_TYPE.UPDATE);
     communicationgroupRepository.update(communicationgroup);
   } catch (java.lang.Exception e) {
     org.junit.Assert.fail(e.getMessage());
   }
 }