### Question:
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);  }### Answer:
@Test public void resetBackendWhenJobHasBeenVetoed() { unit.jobExecutionVetoed(mock(JobExecutionContext.class)); verify(backend).clear(); }