@Test public void test3FindById() { try { org.junit.Assert.assertNotNull(System.getProperty("IssuePriorityPrimaryKey")); issuepriorityRepository.findById(System.getProperty("IssuePriorityPrimaryKey")); } catch (com.athena.framework.server.exception.repository.SpartanPersistenceException e) { org.junit.Assert.fail(e.getMessage()); } catch (Exception e) { e.printStackTrace(); } }
@Test public void test2Update() { try { org.junit.Assert.assertNotNull(System.getProperty("IssuePriorityPrimaryKey")); IssuePriority issuepriority = issuepriorityRepository.findById(System.getProperty("IssuePriorityPrimaryKey")); issuepriority.setIssuePriorityDesc("KjUIsp1oHydxBwRxSzJWrUXuauLw2DP1LwC226WYv6koG0zGUO"); issuepriority.setIssuePriorityName("rJppzrbl9SHVG6zEPyw2UqTFmpx9kAoZCTxNaPTpk7IwA08APK"); issuepriority.setVersionId(1); issuepriority.setEntityAudit(1, "xyz", RECORD_TYPE.UPDATE); issuepriorityRepository.update(issuepriority); } catch (com.athena.framework.server.exception.repository.SpartanPersistenceException e) { org.junit.Assert.fail(e.getMessage()); } catch (java.lang.Exception e) { e.printStackTrace(); } }