@Override public void onEvent(ApplicationEvent event) {
    // only onRequest is used
  }
@Test void onEvent_processesFINISHED() {
    setEventType(RequestEvent.Type.FINISHED);
    setBaseUri("/");

    when(request.getProperty(SpanCustomizer.class.getName())).thenReturn(span);

    listener.onEvent(requestEvent);

    verify(parser).requestMatched(requestEvent, span);
  }