@Test public void test1Save() { try { AppCustomerType appcustomertype = new AppCustomerType(); appcustomertype.setCustomerType("PyjMKfcFwptNCEFwOiMkdp8zixg8NQq3TmYbO73rARxBaXv4WS"); appcustomertype.setDefaults(0); appcustomertype.setSequenceId(2147483647); appcustomertype.setEntityAudit(1, "xyz", RECORD_TYPE.ADD); appcustomertype.setEntityValidator(entityValidator); appcustomertype.isValid(); appcustomertypeRepository.save(appcustomertype); map.put("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(); } }