SpringWebfluxClientRequestTagAdapter extends HttpTagAndSpanNamingAdapter<ClientRequest, ClientResponse> { @Override public @Nullable Integer getResponseHttpStatus(@Nullable ClientResponse response) { if (response == null) { return null; } return response.rawStatusCode(); }  static SpringWebfluxClientRequestTagAdapter getDefaultInstance(); @Override @Nullable String getRequestUrl(@Nullable ClientRequest request); @Override @Nullable Integer getResponseHttpStatus(@Nullable ClientResponse response); @Override @Nullable String getRequestHttpMethod(@Nullable ClientRequest request); @Override @Nullable String getRequestPath(@Nullable ClientRequest request); @Override @Nullable String getRequestUriPathTemplate(
        @Nullable ClientRequest request,
        @Nullable ClientResponse response
    ); @Override @Nullable String getHeaderSingleValue(@Nullable ClientRequest request, @NotNull String headerKey); @Override @Nullable List<String> getHeaderMultipleValue(
        @Nullable ClientRequest request, @NotNull String headerKey
    ); @Override @Nullable String getSpanHandlerTagValue(
        @Nullable ClientRequest request, @Nullable ClientResponse response
    );  }
@DataProvider(value = { "200", "300", "400", "500", "999" }) @Test public void getResponseHttpStatus_returns_value_from_response_rawStatusCode(int responseMethodValue) { doReturn(responseMethodValue).when(responseMock).rawStatusCode(); Integer result = implSpy.getResponseHttpStatus(responseMock); assertThat(result).isEqualTo(responseMethodValue); verify(responseMock).rawStatusCode(); }
@Test public void getResponseHttpStatus_returns_null_when_passed_null() { assertThat(implSpy.getResponseHttpStatus(null)).isNull(); }