@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(); } }