@Before public void before() { // Use dedicated job manager because job manager is shutdown in tests. m_jobManagerBean = JobTestUtil.replaceCurrentJobManager( new JobManager() { // must be a subclass in order to replace JobManager }); }
@After public void after() { JobTestUtil.unregisterAndShutdownJobManager(m_jobManagerBean); }