@Test public void resetBackendWhenJobHasBeenVetoed() { unit.jobExecutionVetoed(mock(JobExecutionContext.class)); verify(backend).clear(); }
@Override public void jobExecutionVetoed(JobExecutionContext context) { backend.clear(); }
TraceeJobListener extends JobListenerSupport { @Override public void jobExecutionVetoed(JobExecutionContext context) { backend.clear(); } }
TraceeJobListener extends JobListenerSupport { @Override public void jobExecutionVetoed(JobExecutionContext context) { backend.clear(); } TraceeJobListener();  TraceeJobListener(final String profile);   TraceeJobListener(final TraceeBackend backend, final String profile); }
TraceeJobListener extends JobListenerSupport { @Override public void jobExecutionVetoed(JobExecutionContext context) { backend.clear(); } TraceeJobListener();  TraceeJobListener(final String profile);   TraceeJobListener(final TraceeBackend backend, final String profile); @Override String getName(); @Override void jobToBeExecuted(JobExecutionContext context); @Override void jobExecutionVetoed(JobExecutionContext context); @Override void jobWasExecuted(JobExecutionContext context, JobExecutionException jobException); }
TraceeJobListener extends JobListenerSupport { @Override public void jobExecutionVetoed(JobExecutionContext context) { backend.clear(); } TraceeJobListener();  TraceeJobListener(final String profile);   TraceeJobListener(final TraceeBackend backend, final String profile); @Override String getName(); @Override void jobToBeExecuted(JobExecutionContext context); @Override void jobExecutionVetoed(JobExecutionContext context); @Override void jobWasExecuted(JobExecutionContext context, JobExecutionException jobException);  }