@Test public void test3FindById() { try { org.junit.Assert.assertNotNull(map.get("UserRoleBridgePrimaryKey")); userrolebridgeRepository.findById((java.lang.String) map.get("UserRoleBridgePrimaryKey")); } 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("UserRoleBridgePrimaryKey")); UserRoleBridge userrolebridge = userrolebridgeRepository.findById((java.lang.String) map.get("UserRoleBridgePrimaryKey")); userrolebridge.setVersionId(1); userrolebridge.setEntityAudit(1, "xyz", RECORD_TYPE.UPDATE); userrolebridgeRepository.update(userrolebridge); } 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()); } }