@Test
void afterFailureClearsContext() {

  MDC.put(LOG_CONTEXT, "foo");
  listener.afterFailure(mock(ListenerContext.class), mock(Throwable.class));
  assertThat(MDC.get(LOG_CONTEXT), is(nullValue()));
}