@Test
 public void test4Delete() {
   try {
     org.junit.Assert.assertNotNull(map.get("UserAccessDomainPrimaryKey"));
     useraccessdomainRepository.delete((java.lang.String) map.get("UserAccessDomainPrimaryKey"));
   } catch (com.athena.framework.server.exception.repository.SpartanPersistenceException e) {
     org.junit.Assert.fail(e.getMessage());
   } catch (Exception e) {
     org.junit.Assert.fail(e.getMessage());
   }
 }
 @Test
 public void test2Update() {
   try {
     org.junit.Assert.assertNotNull(map.get("UserAccessDomainPrimaryKey"));
     UserAccessDomain useraccessdomain =
         useraccessdomainRepository.findById(
             (java.lang.String) map.get("UserAccessDomainPrimaryKey"));
     useraccessdomain.setDomainDescription("MaXTVFcU895L7UMMMRPg0FP1grNaVwroIXh0ASdZBqTQEtnrcb");
     useraccessdomain.setDomainHelp("Rok5XVzRj9dAQkgkWW7xnMpkx8WreXrhqkO5c8o7FUMzqHi319");
     useraccessdomain.setDomainIcon("N3oQXTw4HP3D7BWw5XGeB9tRTuKb1ZWCTRSbZbjCvItUb1jrUM");
     useraccessdomain.setDomainName("Z7WRs6o3aZRvwbJEPozjJQOB6izWVu4SHO2by2WsRTuLipeGPL");
     useraccessdomain.setUserAccessDomain(53882);
     useraccessdomain.setVersionId(1);
     useraccessdomain.setEntityAudit(1, "xyz", RECORD_TYPE.UPDATE);
     useraccessdomainRepository.update(useraccessdomain);
   } 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());
   }
 }
 @Test
 public void test1Save() {
   try {
     UserAccessDomain useraccessdomain = new UserAccessDomain();
     useraccessdomain.setDomainDescription("HUYjjtd9OAARtWGM6Fqvq7GktBE1WCLxmHI9TNWDPHmhQfAo2k");
     useraccessdomain.setDomainHelp("KiadRixbosF98XuPD37azf0UoElOJ01rt988hn0L2i9kWVFZeh");
     useraccessdomain.setDomainIcon("hYinnvZTBQwCUFcMYHEE75MZOAcoGFzfW1VmRIQgGnjoDUyCIh");
     useraccessdomain.setDomainName("Wnuub4zWKEnZmqoWuOajV2rdarYrsepPHad7CDYGmrEjbJXlT5");
     useraccessdomain.setUserAccessDomain(valueGenerator.getRandomInteger(99999, 0));
     useraccessdomain.setEntityAudit(1, "xyz", RECORD_TYPE.ADD);
     useraccessdomain.setEntityValidator(entityValidator);
     useraccessdomain.isValid();
     useraccessdomainRepository.save(useraccessdomain);
     map.put("UserAccessDomainPrimaryKey", useraccessdomain._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());
   }
 }