@Test
 public void test1Save() {
     try {
         Roles roles = new Roles();
         roles.setRoleDescription("zih4chwTeX0YVzJEDrPDwwcSPzrh0OsZyqkBBbv6Syk8b6aDxk");
         roles.setRoleHelp("xPQH95WjeYbB1fbJzZgv6wG9J0dG2SwagqmPKrDjREsWYBKjdt");
         roles.setRoleIcon("EH6EsNk9i9qb8cWl1s9hQPDbzjqwxdCQu5P63DjatJe26Cp0GS");
         roles.setRoleName("8Q4Eca5Ng9Q6xz7RVuY27XhaoKvTMRYTCf0AVQAV36EvvC1ujP");
         Roles RolesTest = rolesRepository.save(roles);
         map.put("RolesPrimaryKey", roles._getPrimarykey());
         User user = new User();
         user.setUserAccessCode(29812);
         user.setPasswordAlgo("7nVJJ8tx9wiXOaSYorRvj5tNXVc7DIqVTG3hwIcXdGN8fPyl9C");
         user.setIsLocked(1);
         user.setGenTempOneTimePassword(1);
         user.setIsDeleted(1);
         user.setMultiFactorAuthEnabled(1);
         user.setSessionTimeout(1563);
         user.setPasswordExpiryDate(new java.sql.Timestamp(1457502213500l));
         UserAccessLevel useraccesslevel = new UserAccessLevel();
         useraccesslevel.setLevelDescription("LsM7xJOBYTs8b9IZ9Q3WvhFGMaMEnxVlBYOxdAB2OsLjw9Ekv3");
         useraccesslevel.setLevelHelp("3Js5PnJnEzNyabN6LSvhpE3gaRTaMi7zrxumR4R79uBa5YCZFA");
         useraccesslevel.setUserAccessLevel(valueGenerator.getRandomInteger(99999, 0));
         useraccesslevel.setLevelName("0HDKxNXbGJMGyy0GVCcKJ27o5cX3MTr7qD2IrV8XubsQhQNe3q");
         useraccesslevel.setLevelIcon("SGYMhTbOTOsYGheVIh72YXWyLK5HTDGPhW7xj5w5oewWC54Fi8");
         UserAccessLevel UserAccessLevelTest = useraccesslevelRepository.save(useraccesslevel);
         map.put("UserAccessLevelPrimaryKey", useraccesslevel._getPrimarykey());
         UserAccessDomain useraccessdomain = new UserAccessDomain();
         useraccessdomain.setDomainDescription("6A4yyuokuFOCA22H36xjXg8gNDLlv09rKII21V5vgaFPZiKuRV");
         useraccessdomain.setDomainIcon("GH4BjqnZYvFAdfCCuBumRdsiKsrplPZdtZe1KOm2ko3FkxDYoq");
         useraccessdomain.setUserAccessDomain(valueGenerator.getRandomInteger(99999, 0));
         useraccessdomain.setDomainHelp("nAtanyrcv6QrfeqabomSnbjeRtTvoSphVpzBA0BbGLaxogpQMS");
         useraccessdomain.setDomainName("KKQWvvHDL4mYukGR9fRwliuelH0msv9cum5fiGHZ8tA4dXmTcX");
         UserAccessDomain UserAccessDomainTest = useraccessdomainRepository.save(useraccessdomain);
         map.put("UserAccessDomainPrimaryKey", useraccessdomain._getPrimarykey());
         user.setUserAccessCode(26205);
         user.setPasswordAlgo("WO6uzqAccZ4KQCvWv3zq5HFOqSMeQCsUreOZqGMRQk1RfpDgYo");
         user.setIsLocked(1);
         user.setGenTempOneTimePassword(1);
         user.setIsDeleted(1);
         user.setMultiFactorAuthEnabled(1);
         user.setSessionTimeout(3149);
         user.setPasswordExpiryDate(new java.sql.Timestamp(1457502213509l));
         user.setUserAccessLevelId((java.lang.String) UserAccessLevelTest._getPrimarykey()); /* ******Adding refrenced table data */
         user.setLastPasswordChangeDate(new java.sql.Timestamp(1457502213541l));
         user.setChangePasswordNextLogin(1);
         user.setUserAccessDomainId((java.lang.String) UserAccessDomainTest._getPrimarykey()); /* ******Adding refrenced table data */
         user.setAllowMultipleLogin(1);
         java.util.List<PassRecovery> listOfPassRecovery = new java.util.ArrayList<PassRecovery>();
         PassRecovery passrecovery = new PassRecovery();
         passrecovery.setAnswer("noh5WnNg2Au8XBwYDN3BwilmrBS137fGqMjKrexdyCiVmNDil2");
         Question question = new Question();
         question.setQuestionDetails("B");
         question.setLevelid(9);
         question.setQuestion("5SC90aW9AzuUJOfd6uZI6pyX4PQu8BZjWHcHyJv7n4gu9zpRT5");
         question.setQuestionIcon("z3lz2asBFQA0E9U4P62axk9akWsKClIiZV82U0s0crjOiTRqwH");
         Question QuestionTest = questionRepository.save(question);
         map.put("QuestionPrimaryKey", question._getPrimarykey());
         passrecovery.setAnswer("VyKb00ar04uokWx50ArgANhWwwS3LGJAIK8B1AiUVQ13oROzMx");
         passrecovery.setQuestionId((java.lang.String) QuestionTest._getPrimarykey()); /* ******Adding refrenced table data */
         passrecovery.setUser(user);
         listOfPassRecovery.add(passrecovery);
         user.addAllPassRecovery(listOfPassRecovery);
         UserData userdata = new UserData();
         userdata.setOneTimePasswordGenDate(new java.sql.Timestamp(1457502213748l));
         userdata.setOneTimePasswordExpiry(3);
         userdata.setLast5Passwords("JHNkDKNTM6505x25FY9E7WdOatSDgQphHIvZL8v8ghYwFumVgV");
         userdata.setOneTimePasswordGenDate(new java.sql.Timestamp(1457502213756l));
         userdata.setOneTimePasswordExpiry(5);
         userdata.setLast5Passwords("v8wJ9Sn1xdhUKlqblPYTs3oKpdVzoyjaEJQfxSWSLDEyuYIHz6");
         userdata.setUser(user);
         userdata.setPassword("l2tt85jN3f0Y4CJ94gsF3BwRQVYlR5i9VtD3KmuawUVaUbUCG2");
         userdata.setOneTimePassword("M4Cv6to6HfCxyIrqraKaBu3laHznZqJO");
         user.setUserData(userdata);
         User UserTest = userRepository.save(user);
         map.put("UserPrimaryKey", user._getPrimarykey());
         UserRoleBridge userrolebridge = new UserRoleBridge();
         userrolebridge.setRoleId((java.lang.String) RolesTest._getPrimarykey()); /* ******Adding refrenced table data */
         userrolebridge.setUserId((java.lang.String) UserTest._getPrimarykey());
         userrolebridge.setEntityAudit(1, "xyz", RECORD_TYPE.ADD);
         userrolebridge.setEntityValidator(entityValidator);
         userrolebridge.isValid();
         userrolebridgeRepository.save(userrolebridge);
         map.put("UserRoleBridgePrimaryKey", userrolebridge._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 {
         User user = new User();
         user.setSessionTimeout(689);
         user.setPasswordAlgo("ZUWoTOVghMQEo7a4PN7otQHrL8quqOluq1HqS6rd3UsyOJDClV");
         user.setChangePasswordNextLogin(1);
         user.setIsDeleted(1);
         user.setIsLocked(1);
         user.setLastPasswordChangeDate(new java.sql.Timestamp(1457502861196l));
         UserAccessDomain useraccessdomain = new UserAccessDomain();
         useraccessdomain.setUserAccessDomain(valueGenerator.getRandomInteger(99999, 0));
         useraccessdomain.setDomainIcon("Dyeeq6SqCTfdJF0U5tI2xhTo6PPA2viFZ4OvfyzvuddeE1DUIB");
         useraccessdomain.setDomainDescription("Dbb0gbne67MFns4D70ndeyccwwaAEzI1CA7ZHMDAVjd0HBg8hO");
         useraccessdomain.setDomainHelp("cTKhUUAQfsLXED0K7fCnrH8fLIJeAcGTFGx5r9QxgD0I5GEGyE");
         useraccessdomain.setDomainName("bFRjdLQgEPflYGerX1yVBWXEk0ragV6Ai1CfbkHDk9sNbqVdTt");
         UserAccessDomain UserAccessDomainTest = useraccessdomainRepository.save(useraccessdomain);
         map.put("UserAccessDomainPrimaryKey", useraccessdomain._getPrimarykey());
         UserAccessLevel useraccesslevel = new UserAccessLevel();
         useraccesslevel.setUserAccessLevel(valueGenerator.getRandomInteger(99999, 0));
         useraccesslevel.setLevelHelp("QWAaf0lvtFBFH0p94M77iVZCa3dIaDXSmV3SLnLUbYwpfmXkYh");
         useraccesslevel.setLevelDescription("udvI9TjKKFJqXeHDh0TFeK1qJjI1LMYW6xiGFmiYjoaszpV4pf");
         useraccesslevel.setLevelIcon("ZzVzverW99V7sfGgpULXB6FSeN2pBglBApK6poLaOq1nfihzJl");
         useraccesslevel.setLevelName("37Oiu2bR4MukiDabRZEmSkVz7qPuNp0lUgrlbffahL6rLRBa3X");
         UserAccessLevel UserAccessLevelTest = useraccesslevelRepository.save(useraccesslevel);
         map.put("UserAccessLevelPrimaryKey", useraccesslevel._getPrimarykey());
         user.setSessionTimeout(1913);
         user.setPasswordAlgo("9zunbQnog2841yHPLTVhrDMQtxJqcGLgsZ8mZezofkBYMI92OG");
         user.setChangePasswordNextLogin(1);
         user.setIsDeleted(1);
         user.setIsLocked(1);
         user.setLastPasswordChangeDate(new java.sql.Timestamp(1457502861202l));
         user.setUserAccessDomainId((java.lang.String) UserAccessDomainTest._getPrimarykey()); /* ******Adding refrenced table data */
         user.setPasswordExpiryDate(new java.sql.Timestamp(1457502861232l));
         user.setGenTempOneTimePassword(1);
         user.setAllowMultipleLogin(1);
         user.setMultiFactorAuthEnabled(1);
         user.setUserAccessCode(4647);
         user.setUserAccessLevelId((java.lang.String) UserAccessLevelTest._getPrimarykey()); /* ******Adding refrenced table data */
         java.util.List<PassRecovery> listOfPassRecovery = new java.util.ArrayList<PassRecovery>();
         PassRecovery passrecovery = new PassRecovery();
         passrecovery.setAnswer("CCmacNp4wFTPIA8LQS204HUizSbUfTwssOYdXCsRLxURjIBHmf");
         Question question = new Question();
         question.setLevelid(8);
         question.setQuestionIcon("g4lmQjcYYzfuQQpG2vqA1omjbl8BjVf4fEU6imVMPBJZGADtM1");
         question.setQuestion("PDrSGUCg8oBBXF1r3p78AEiFDb6I6D47v7D0ENFLVlHyKpXfj3");
         question.setQuestionDetails("g");
         Question QuestionTest = questionRepository.save(question);
         map.put("QuestionPrimaryKey", question._getPrimarykey());
         passrecovery.setAnswer("CIy8nqId4XA6qfNWLTx6qjHMvOtELeXEifeKibZIGPCREEb5tL");
         passrecovery.setUser(user);
         passrecovery.setQuestionId((java.lang.String) QuestionTest._getPrimarykey()); /* ******Adding refrenced table data */
         listOfPassRecovery.add(passrecovery);
         user.addAllPassRecovery(listOfPassRecovery);
         UserData userdata = new UserData();
         userdata.setPassword("HifBXUEuVmO2LJKaOej6zT0zsNqFQUagmX7mDuIdd4TtWrksFP");
         userdata.setLast5Passwords("TIGelpnzc2by0NcR1rEH7pHAFnU9TvWYEtofGYS1KGPQKv1JRH");
         userdata.setPassword("ochKuehA53QmMajEpk2sU5aAu1WNaeum81rwIXz2QqJ8dBK9wj");
         userdata.setLast5Passwords("3Sk3ojQW9VLL54S4G0Vv93mBTpt8gSzxqfiKPpG6gNcHThcOYi");
         userdata.setUser(user);
         userdata.setOneTimePasswordExpiry(4);
         userdata.setOneTimePasswordGenDate(new java.sql.Timestamp(1457502861472l));
         userdata.setOneTimePassword("EM0St7HG3urlyPxEy8h7WUhbkOtNpbQa");
         user.setUserData(userdata);
         User UserTest = userRepository.save(user);
         map.put("UserPrimaryKey", user._getPrimarykey());
         Roles roles = new Roles();
         roles.setRoleIcon("Ms7fjM16G9Cjz8UC9lpI6N9aIMCnerwtDovWfCesnqrecVG3cl");
         roles.setRoleHelp("Hq37DUbqVXpbFcADdNNd1d0e7Nnzfsf3MBAeFuJNlrknBxOAXy");
         roles.setRoleDescription("sgea7ZFgXdWuk6UddhZbgi1r0Z3ERbBpHMVzOuCv2EQAlvEK0G");
         roles.setRoleName("BeeupfZAtmttkit2q54sv5M2l1a89FQU3nTvIa2MZFV9CUnNFd");
         Roles RolesTest = rolesRepository.save(roles);
         map.put("RolesPrimaryKey", roles._getPrimarykey());
         UserRoleBridge userrolebridge = new UserRoleBridge();
         userrolebridge.setUserId((java.lang.String) UserTest._getPrimarykey()); /* ******Adding refrenced table data */
         userrolebridge.setRoleId((java.lang.String) RolesTest._getPrimarykey());
         userrolebridge.setEntityAudit(1, "xyz", RECORD_TYPE.ADD);
         userrolebridge.setEntityValidator(entityValidator);
         userrolebridge.isValid();
         userrolebridgeRepository.save(userrolebridge);
         map.put("UserRoleBridgePrimaryKey", userrolebridge._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());
     }
 }