@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();
   }
 }
 @Test
 public void test1Save() {
   try {
     AppCustomerCategory appcustomercategory = new AppCustomerCategory();
     appcustomercategory.setCustomerCategory("cJHHa1nOe6mlDnrECmuDikanZf42McAbZPFOinx208LYXCT6KY");
     AppCustomerCategory AppCustomerCategoryTest =
         appcustomercategoryRepository.save(appcustomercategory);
     System.setProperty("AppCustomerCategoryPrimaryKey", appcustomercategory._getPrimarykey());
     AppCustomerType appcustomertype = new AppCustomerType();
     appcustomertype.setCustomerType("slzRc9dEfyE6kFsCqlfdHJBxR3nBTbawNIndyjwjBy195PDhTM");
     appcustomertype.setDefaults(1);
     appcustomertype.setSequenceId(2147483647);
     AppCustomerType AppCustomerTypeTest = appcustomertypeRepository.save(appcustomertype);
     System.setProperty("AppCustomerTypePrimaryKey", appcustomertype._getPrimarykey());
     CoreContacts corecontacts = new CoreContacts();
     corecontacts.setAge(120);
     corecontacts.setApproximateDOB(new java.sql.Date(123456789));
     corecontacts.setDateofbirth(new java.sql.Date(123456789));
     corecontacts.setEmailId("viNCNNIdqQg0DaTX2Ox52ah0kw5a0AZpbZ442WP8pqx9FdlojL");
     corecontacts.setFirstName("7pR1oEkfEGLJBtGVIR1Yj4WMrOc2ZZ0uwS2WkkAHPvoAnPCx5D");
     Gender gender = new Gender();
     gender.setGender("l0AZ1L3VmFRfBwGhZDQGPBPAwCxww7ApgKHltQJG7nY01BASLx");
     Gender GenderTest = genderRepository.save(gender);
     System.setProperty("GenderPrimaryKey", gender._getPrimarykey());
     Language language = new Language();
     language.setAlpha2("cv");
     language.setAlpha3("N4W");
     language.setAlpha4("KoaZ");
     language.setAlpha4parentid(2);
     language.setLanguage("fBXdPAOdlB03a9RVF3NzZs3x1kNdVcBxZDiYFolaqYrpz671F2");
     language.setLanguageDescription("j6vJRQsw2b1pN1Xnn5NIzjiawriDk6N8TPkSYOo3lFO8eBqrtg");
     language.setLanguageIcon("7yy6SNwlLeqb637UMfcnaUX1ewyW4HxkK2Sgfwi1YCwrVp93dz");
     language.setLanguageType("ltEXx5RiUPYtDmIwxsIxgIpBJ63SWKZB");
     Language LanguageTest = languageRepository.save(language);
     System.setProperty("LanguagePrimaryKey", language._getPrimarykey());
     Title title = new Title();
     title.setTitles("p1pHIwYktY4qx1d4DsELO9goX8coRYwJvGzq4xq81t1zB7dPcV");
     Title TitleTest = titleRepository.save(title);
     System.setProperty("TitlePrimaryKey", title._getPrimarykey());
     corecontacts.setAge(22);
     corecontacts.setApproximateDOB(new java.sql.Date(123456789));
     corecontacts.setDateofbirth(new java.sql.Date(123456789));
     corecontacts.setEmailId("gnluwu3rdrtLbQsyT1oIG4lsIQot8A8gR1iXegzjm9Pr091SQE");
     corecontacts.setFirstName("TtHdYB9UTkJ1Vl76BlIzE3c1iLBMULgpaLMjjLvEbhUC7NgqYP");
     corecontacts.setGenderId(GenderTest._getPrimarykey()); /* ******Adding refrenced table data */
     corecontacts.setLastName("csdVXnBzNmb4uWZLo9kg9DWfHYD9z23DPyqcwvRO3kIzivzE92");
     corecontacts.setMiddleName("yzg9VsSePajmiJ0sUKr559u6lrm8tHKx2x7sAd4XXp43sLYDNb");
     corecontacts.setNativeFirstName("zZqb48Mq9NdRJuCECQdstfIzKDz6ZQYAT8rGBHQHHp04kVJWOW");
     corecontacts.setNativeLanguageCode(
         LanguageTest._getPrimarykey()); /* ******Adding refrenced table data */
     corecontacts.setNativeLastName("PXbojyd7VvP3bdlpR0fOYwq9rhl2b0CaV2P2fCM35mCDHgRAQE");
     corecontacts.setNativeMiddleName("g6rnbGBaSGy32dOaSm2ugn3Jnq24wAf2MHxqMNd2cehFkKcGZM");
     corecontacts.setNativeTitle("AMdm6nNafsjSKYFgiHFcxPPypXGWXbkvWCpXkkSXKbIrikHjfa");
     corecontacts.setPhoneNumber("mvNh0M07LkPs5TyeZTOn");
     corecontacts.setTitleId(TitleTest._getPrimarykey()); /* ******Adding refrenced table data */
     CoreContacts CoreContactsTest = corecontactsRepository.save(corecontacts);
     System.setProperty("CoreContactsPrimaryKey", corecontacts._getPrimarykey());
     AppCustomer appcustomer = new AppCustomer();
     appcustomer.setAppCustomerCategory(
         AppCustomerCategoryTest._getPrimarykey()); /* ******Adding refrenced table data */
     appcustomer.setAppCustomerType(
         AppCustomerTypeTest._getPrimarykey()); /* ******Adding refrenced table data */
     appcustomer.setContactId(CoreContactsTest._getPrimarykey());
     appcustomer.setCustomerName("FIj2qtvbfbS5eflZxV2X6IUhkVsPUthfb8BQ4HfYybg1gPWiL0");
     appcustomer.setCustomerStatus(1);
     appcustomer.setDeploymentModel(true);
     appcustomer.setEvalTimePeriod(2147483647);
     appcustomer.setUserRequested(2147483647);
     appcustomer.setEntityAudit(1, "xyz", RECORD_TYPE.ADD);
     appcustomer.setEntityValidator(entityValidator);
     appcustomer.isValid();
     appcustomerRepository.save(appcustomer);
     System.setProperty("AppCustomerPrimaryKey", appcustomer._getPrimarykey());
   } catch (com.athena.framework.server.exception.biz.SpartanConstraintViolationException e) {
     org.junit.Assert.fail(e.getMessage());
   } catch (java.lang.Exception e) {
     e.printStackTrace();
   }
 }