@Test
 public void test3FindById() {
   try {
     org.junit.Assert.assertNotNull(map.get("CurrencyPrimaryKey"));
     currencyRepository.findById((java.lang.String) map.get("CurrencyPrimaryKey"));
   } catch (com.athena.framework.server.exception.repository.SpartanPersistenceException e) {
     org.junit.Assert.fail(e.getMessage());
   } catch (Exception e) {
     org.junit.Assert.fail(e.getMessage());
   }
 }
 @Test
 public void test2Update() {
   try {
     org.junit.Assert.assertNotNull(map.get("CurrencyPrimaryKey"));
     Currency currency =
         currencyRepository.findById((java.lang.String) map.get("CurrencyPrimaryKey"));
     currency.setCurrencyCode("pHi4xheYbhh1YbGFb8gXCfdShwfv5cIwFag2yMDFIFShiBZPYh");
     currency.setUnicodeDecimal("xTDbCj0alDocj3VJ6NlgTBRVk1MYMa7A9xr4aa1WXebHtuKlY6");
     currency.setUnicodeHex("KXzfz59O3UiwSHpqEZIPH4xif0K3cYcPngcoma0RXlixDIHLcH");
     currency.setVersionId(1);
     currency.setEntityAudit(1, "xyz", RECORD_TYPE.UPDATE);
     currencyRepository.update(currency);
   } 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());
   }
 }