@Test
void slowOperationThresholdInNanos() {

    var request = new HTTPRequest(HTTPMethod.POST, "http://localhost/uri");
    assertThat(httpClient.slowOperationThresholdInNanos(request)).isEqualTo(Duration.ofSeconds(10).toNanos());
    request.slowOperationThreshold = Duration.ofSeconds(1);
    assertThat(httpClient.slowOperationThresholdInNanos(request)).isEqualTo(Duration.ofSeconds(1).toNanos());
}