@Override
  public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object o) {
    Object span = request.getAttribute(SpanCustomizer.class.getName());
    if (span instanceof SpanCustomizer) {
      setHttpRouteAttribute(request);
      handlerParser.preHandle(request, o, (SpanCustomizer) span);
    }
    return true;
  }
@Test void preHandle_nothingWhenNoSpanAttribute() {
    interceptor.preHandle(request, response, controller);

    verify(request).getAttribute("brave.SpanCustomizer");
    verifyNoMoreInteractions(request, request, parser, span);
  }