SpanCustomizingApplicationEventListener implements ApplicationEventListener, RequestEventListener { @Override public void onEvent(ApplicationEvent event) { } @Inject  SpanCustomizingApplicationEventListener(); static SpanCustomizingApplicationEventListener create(); @Override void onEvent(ApplicationEvent event); @Override RequestEventListener onRequest(RequestEvent requestEvent); @Override void onEvent(RequestEvent event);  }
@Test public void onEvent_for_ApplicationEvent_does_nothing() { ApplicationEvent eventMock = mock(ApplicationEvent.class); implSpy.onEvent(eventMock); verify(implSpy).onEvent(eventMock); verifyNoMoreInteractions(implSpy); verifyZeroInteractions(eventMock); }