@Test(expected = IllegalAccessException.class) public void testJpaUtils() throws IllegalAccessException { JPAUtils utils = JPAUtils.getJPAUtilsInstance(); assertFalse(utils.dbLockdownIgnoreErrors()); utils.dbLockdown(); fail("Expecting an exception"); }
@Autowired public JPAUtils(CommonClassDao commonClassDao) { JPAUtils.commonClassDao = commonClassDao; }
JPAUtils { @Autowired public JPAUtils(CommonClassDao commonClassDao) { JPAUtils.commonClassDao = commonClassDao; } }
JPAUtils { @Autowired public JPAUtils(CommonClassDao commonClassDao) { JPAUtils.commonClassDao = commonClassDao; } @Autowired  JPAUtils(CommonClassDao commonClassDao); private  JPAUtils(); }
JPAUtils { @Autowired public JPAUtils(CommonClassDao commonClassDao) { JPAUtils.commonClassDao = commonClassDao; } @Autowired  JPAUtils(CommonClassDao commonClassDao); private  JPAUtils(); static JPAUtils getJPAUtilsInstance(); boolean dbLockdownIgnoreErrors(); boolean dbLockdown(); }
JPAUtils { @Autowired public JPAUtils(CommonClassDao commonClassDao) { JPAUtils.commonClassDao = commonClassDao; } @Autowired  JPAUtils(CommonClassDao commonClassDao); private  JPAUtils(); static JPAUtils getJPAUtilsInstance(); boolean dbLockdownIgnoreErrors(); boolean dbLockdown();  }