final HttpRequestImpl request = new HttpRequestImpl();
request.method(Method.GET).path(FULL_PATH).queryParameter("x", "1").queryParameter("y", "2")
.httpMessageHeader(BraveHttpHeaders.TraceId.getName(), Long.toString(TRACE_ID, 16))
.httpMessageHeader(BraveHttpHeaders.SpanId.getName(), Long.toString(SPAN_ID, 16))
.httpMessageHeader(BraveHttpHeaders.Sampled.getName(), "true");
final HttpResponseImpl response = new HttpResponseImpl(200, null, null);
responseProvider.set(request, response);
final CloseableHttpClient httpclient =
HttpClients.custom().addInterceptorFirst(new BraveHttpRequestInterceptor(clientTracer, Optional.<String>absent()))
.addInterceptorFirst(new BraveHttpResponseInterceptor(clientTracer)).build();