@Test
 public void test1Save() {
   try {
     Country country = new Country();
     country.setCapital("YbOPjn2u508Er4hSXSO1hULI09SMDn9o");
     country.setCapitalLatitude(9);
     country.setCapitalLongitude(4);
     country.setCountryCode1("2aI");
     country.setCountryCode2("LK4");
     country.setCountryFlag("SvHj7x1Ni82E0xIXPvXoyQcZsuIyoDpJfye0QOe9JAEQjLDhbx");
     country.setCountryName("Wp1CWUIxybGRYpLXLjFnlcbU0jn22QaNG8hcWXJtx5W5JrLsL8");
     country.setCurrencyCode("0VA");
     country.setCurrencyName("JF5cR1jh7Vi8z81vhe3htipojisDszOxFBKYhD0kyqWRfThLaC");
     country.setCurrencySymbol("0bRJ4VAN65vAuYxzJn8XzV7zgWAWEyNP");
     country.setIsoNumeric(10);
     country.setEntityAudit(1, "xyz", RECORD_TYPE.ADD);
     country.setEntityValidator(entityValidator);
     country.isValid();
     countryRepository.save(country);
     map.put("CountryPrimaryKey", country._getPrimarykey());
   } catch (com.athena.framework.server.exception.biz.SpartanConstraintViolationException e) {
     org.junit.Assert.fail(e.getMessage());
   } catch (java.lang.Exception e) {
     org.junit.Assert.fail(e.getMessage());
   }
 }
 @Test
 public void test1Save() {
   try {
     Country country = new Country();
     country.setCapital("IgjvgrUfs84sjzWopSfdgLdPdbIRn3Qz");
     country.setCapitalLatitude(5);
     country.setCapitalLongitude(1);
     country.setCountryCode1("ntp");
     country.setCountryCode2("Xzp");
     country.setCountryFlag("zsX5LRkkQHGDKA0J4jBVwJ852MCEdoP7e8EOS1iW2BIuhos1Ec");
     country.setCountryName("FzrugbwLGLsxY3NX0Yx8UOGSodiWe5nKH7s1EnXIDAnDuSeFqH");
     country.setCurrencyCode("VOY");
     country.setCurrencyName("UN41bj6Ud3jukaJL3Bd7BUdmVq8lUI44UJDHjt5RlPXlujBQOa");
     country.setCurrencySymbol("YWs3o5cbPCUouFDipTUfRtmLZnP4aZgu");
     country.setIsoNumeric(5);
     Country CountryTest = countryRepository.save(country);
     map.put("CountryPrimaryKey", country._getPrimarykey());
     Currency currency = new Currency();
     currency.setCountryId((java.lang.String) CountryTest._getPrimarykey());
     currency.setCurrencyCode("JHdx71fl6fNcUr5trQNWlCv6H91QDTtWaQL1NFXVOdwDvWNcQJ");
     currency.setUnicodeDecimal("Ov2aQMMWABkqqD9PYgcKXVxuhqAWGzexbat9yDaLQ2IAaMnLlv");
     currency.setUnicodeHex("Bkdhy6EjSRtxU0AddQvoYwqC9rFXSVLSOYBA7bktg7xsP7uHdd");
     currency.setEntityAudit(1, "xyz", RECORD_TYPE.ADD);
     currency.setEntityValidator(entityValidator);
     currency.isValid();
     currencyRepository.save(currency);
     map.put("CurrencyPrimaryKey", currency._getPrimarykey());
   } catch (com.athena.framework.server.exception.biz.SpartanConstraintViolationException e) {
     org.junit.Assert.fail(e.getMessage());
   } catch (java.lang.Exception e) {
     org.junit.Assert.fail(e.getMessage());
   }
 }
 @Test
 public void test2Update() {
   try {
     org.junit.Assert.assertNotNull(map.get("CountryPrimaryKey"));
     Country country = countryRepository.findById((java.lang.String) map.get("CountryPrimaryKey"));
     country.setCapital("p8BOHaskx6rOLBEFUbv4Ofh9twar7oPz");
     country.setCapitalLatitude(10);
     country.setCapitalLongitude(10);
     country.setCountryCode1("ouX");
     country.setCountryCode2("5jm");
     country.setCountryFlag("T3tOwtUu8tS7dCFX4rU6fbOLjjoF4LeytRbccLjDkPxBer19rB");
     country.setCountryName("Ujtvf9uQu6Wm1kkjeQvvgsnq95z99WQABufztO22M5auVrFNYz");
     country.setCurrencyCode("75w");
     country.setCurrencyName("nKy0UgMS341tsFRilu2XwHSwUOfeaHHReE8sGHWmEKq5WaigJE");
     country.setCurrencySymbol("ecae0UTIEVqLU3ml7WpoS98WpuctjhIG");
     country.setIsoNumeric(3);
     country.setVersionId(1);
     country.setEntityAudit(1, "xyz", RECORD_TYPE.UPDATE);
     countryRepository.update(country);
   } catch (com.athena.framework.server.exception.repository.SpartanPersistenceException e) {
     org.junit.Assert.fail(e.getMessage());
   } catch (java.lang.Exception e) {
     org.junit.Assert.fail(e.getMessage());
   }
 }