@Test
 public void test2Update() {
   try {
     org.junit.Assert.assertNotNull(map.get("AppMenusPrimaryKey"));
     AppMenus appmenus =
         appmenusRepository.findById((java.lang.String) map.get("AppMenusPrimaryKey"));
     appmenus.setAppId("76mXhpoAmba9jkRNbKuVyY02I4VlzIl8rGbldmUFgdFMyqJR5U");
     appmenus.setAppType(1);
     appmenus.setMenuAccessRights(9);
     appmenus.setMenuAction("Db5GPlW2ZkygfTYJ0L45MMJD5C36i9oAi7Pwt0yNxXXvhet5o6");
     appmenus.setMenuCommands("GYwQuAZlnguo6qLtLJwra68KoNoSKd8NkUagK4c7puijVx9zzH");
     appmenus.setMenuIcon("SFQSmityAlSEHxtHKZbYZOsHO7QJ1f1sXUWn8ZeJVEbECV0Lq4");
     appmenus.setMenuLabel("bmzXQJPzoIUBBoiBckVyuGfxFfuLmyq0nd9afO3VVDKy17cR4Y");
     appmenus.setMenuTreeId("oQOA74mqUiwTSpKDaBN5uUNxLYHWLh9iIZmJltqZc4gJC8woG0");
     appmenus.setRefObjectId("MO7NILk5vywswgChZLqNHQzBYXpmeMcBntqLkwsROnsuOsTpBl");
     appmenus.setUiType("rMc");
     appmenus.setVersionId(1);
     appmenus.setEntityAudit(1, "xyz", RECORD_TYPE.UPDATE);
     appmenusRepository.update(appmenus);
   } catch (com.athena.framework.server.exception.repository.SpartanPersistenceException e) {
     org.junit.Assert.fail(e.getMessage());
   } catch (java.lang.Exception e) {
     e.printStackTrace();
   }
 }
 @Test
 public void test1Save() {
   try {
     AppMenus appmenus = new AppMenus();
     appmenus.setAppId("N2eA8c1r0YVRXHsQUAWJgFrIluzYrTZcVtECTUhSEi235jeffP");
     appmenus.setAppType(1);
     appmenus.setMenuAccessRights(5);
     appmenus.setMenuAction("sbSvOYmynmDZcnkMAMB2wiHn5PGsZFPMdim5ZcxsPtzgjWaQuf");
     appmenus.setMenuCommands("RZ2sYNLRgPrmzBALAkfW4mlo1QImpix69t5LUvjmjA04MJsVEE");
     appmenus.setMenuDisplay(true);
     appmenus.setMenuHead(true);
     appmenus.setMenuIcon("dIhKG6nZhNfzvp7I1fwORk50OIDJTz0oxuHU9kQaQtftyHMrxj");
     appmenus.setMenuLabel("DBg4R4rAxECYq0XB4Ao1CvCizSToxoP7o8ZczBgnNsiV3qJjv6");
     appmenus.setMenuTreeId("MAAJBHbyG16zpAorop1GsRDlDtrn5rFRQIrz9QRT3ykHKcvzSt");
     appmenus.setRefObjectId("VUfQW6QgMvqee7GWmBjikp2eRROCOnStZ6AUf4CsmJQedRjtM1");
     appmenus.setUiType("R7K");
     appmenus.setEntityAudit(1, "xyz", RECORD_TYPE.ADD);
     appmenus.setEntityValidator(entityValidator);
     appmenus.isValid();
     appmenusRepository.save(appmenus);
     map.put("AppMenusPrimaryKey", appmenus._getPrimarykey());
   } catch (com.athena.framework.server.exception.biz.SpartanConstraintViolationException e) {
     org.junit.Assert.fail(e.getMessage());
   } catch (java.lang.Exception e) {
     e.printStackTrace();
   }
 }
 @Test
 public void test4Delete() {
   try {
     org.junit.Assert.assertNotNull(map.get("AppMenusPrimaryKey"));
     appmenusRepository.delete((java.lang.String) map.get("AppMenusPrimaryKey"));
   } catch (com.athena.framework.server.exception.repository.SpartanPersistenceException e) {
     org.junit.Assert.fail(e.getMessage());
   } catch (Exception e) {
     e.printStackTrace();
   }
 }