JobGlobalListener implements JobListener { static Counter getJobCounter() { return JOB_COUNTER; }  @Override void jobToBeExecuted(JobExecutionContext context); @Override void jobExecutionVetoed(JobExecutionContext context); @Override void jobWasExecuted(JobExecutionContext context, JobExecutionException jobException); @Override String getName();  }
@Test public void testGetJobCounter() { assertNotNull("getJobCounter", JobGlobalListener.getJobCounter()); }