NoOpHttpTagAdapter extends HttpTagAndSpanNamingAdapter<REQ, RES> { @Override public @Nullable String getSpanHandlerTagValue(@Nullable REQ request, @Nullable RES response) { return null; }  @SuppressWarnings("unchecked") static NoOpHttpTagAdapter<REQ, RES> getDefaultInstance(); @Override @Nullable String getErrorResponseTagValue(@Nullable RES response); @Override @Nullable String getRequestUrl(@Nullable REQ request); @Override @Nullable String getRequestPath(@Nullable REQ request); @Override @Nullable Integer getResponseHttpStatus(@Nullable RES response); @Override @Nullable String getRequestHttpMethod(@Nullable REQ request); @Override @Nullable String getHeaderSingleValue(@Nullable REQ request, @NotNull String headerKey); @Override @Nullable List<String> getHeaderMultipleValue(@Nullable REQ request, @NotNull String headerKey); @Override @Nullable String getSpanNamePrefix(@Nullable REQ request); @Override @Nullable String getInitialSpanName(@Nullable REQ request); @Override @Nullable String getFinalSpanName(@Nullable REQ request, @Nullable RES response); @Override @Nullable String getRequestUriPathTemplate(@Nullable REQ request, @Nullable RES response); @Override @Nullable String getSpanHandlerTagValue(@Nullable REQ request, @Nullable RES response);  }
@Test public void getSpanHandlerTagValue_returns_null_and_does_nothing_else() { String result = implSpy.getSpanHandlerTagValue(requestMock, responseMock); assertThat(result).isNull(); verify(implSpy).getSpanHandlerTagValue(requestMock, responseMock); verifyNoMoreInteractions(implSpy); verifyZeroInteractions(requestMock, responseMock); }