HttpParser { @Nullable protected <Req> String spanName(HttpAdapter<Req, ?> adapter, Req req) { return adapter.method(req); }  void request(HttpAdapter<Req, ?> adapter, Req req, SpanCustomizer customizer); void response(HttpAdapter<?, Resp> adapter, @Nullable Resp res,
    @Nullable Throwable error, SpanCustomizer customizer);  }
@Test public void spanName_isMethod() { when(adapter.method(request)).thenReturn("GET"); assertThat(parser.spanName(adapter, request)) .isEqualTo("GET"); }