return mockedSpan;
}
private void validateUsingSpan(final SpanId span) throws Exception {
when(clientRequest.getURI()).thenReturn(URI.create("http://testuri.com/path"));
when(clientRequest.getHeaders()).thenReturn(new StringKeyObjectValueIgnoreCaseMultivaluedMap());
when(clientTracer.startNewSpan(anyString())).thenReturn(span);
ClientRequestHeaders.addTracingHeaders(new JerseyClientRequestAdapter(clientRequest), span, null);
final MultivaluedMap<String, Object> headers = clientRequest.getHeaders();