@Test
 public void test2Update() {
   try {
     org.junit.Assert.assertNotNull(System.getProperty("AppCustomerTypePrimaryKey"));
     AppCustomerType appcustomertype =
         appcustomertypeRepository.findById(System.getProperty("AppCustomerTypePrimaryKey"));
     appcustomertype.setCustomerType("eyEFdK3OS2zViYT5desqaV2k1KoMtirEw5hvlrhlS5uKSg5Orb");
     appcustomertype.setDefaults(1);
     appcustomertype.setSequenceId(2147483647);
     appcustomertype.setVersionId(1);
     appcustomertype.setEntityAudit(1, "xyz", RECORD_TYPE.UPDATE);
     appcustomertypeRepository.update(appcustomertype);
   } catch (java.lang.Exception e) {
     e.printStackTrace();
   }
 }
 @Test
 public void test1Save() {
   try {
     AppCustomerType appcustomertype = new AppCustomerType();
     appcustomertype.setCustomerType("odE0FdgyOGJcKSYNwqUUoRKn2tyiLwKncCtxpAI5gTDNrVTqnG");
     appcustomertype.setDefaults(1);
     appcustomertype.setSequenceId(2147483647);
     appcustomertype.setEntityAudit(1, "xyz", RECORD_TYPE.ADD);
     appcustomertype.setEntityValidator(entityValidator);
     appcustomertype.isValid();
     appcustomertypeRepository.save(appcustomertype);
     System.setProperty("AppCustomerTypePrimaryKey", appcustomertype._getPrimarykey());
   } catch (com.athena.framework.server.exception.biz.SpartanConstraintViolationException e) {
     org.junit.Assert.fail(e.getMessage());
   } catch (java.lang.Exception e) {
     e.printStackTrace();
   }
 }