@Test public void test3FindById() { try { org.junit.Assert.assertNotNull(map.get("LanguagePrimaryKey")); languageRepository.findById((java.lang.String) map.get("LanguagePrimaryKey")); } 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("LanguagePrimaryKey")); Language language = languageRepository.findById((java.lang.String) map.get("LanguagePrimaryKey")); language.setAlpha2("A1"); language.setAlpha3("BEg"); language.setAlpha4("bwSs"); language.setAlpha4parentid(1); language.setLanguage("R56esXyzD82rdpecfgnc44qfx7UekpyHstGijfGsT9Xcn8hyMh"); language.setLanguageDescription("gqYXc1oTLMxWoQlO8NCW8ZrBNS8ADRxvzDsxG2W3oeOdtalgLm"); language.setLanguageIcon("INXkvskI78O9TOY6AvmzvrdVMJVfpwYUMTSMDAGoFKFWf5fPzO"); language.setLanguageType("tjf84pipt25mjXheuFbDeng7BkEDrHlu"); language.setVersionId(1); language.setEntityAudit(1, "xyz", RECORD_TYPE.UPDATE); languageRepository.update(language); } 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()); } }