target.register(new BraveClientRequestFilter(clientTracer, Optional.<String>absent()));
target.register(new BraveClientResponseFilter(clientTracer, Optional.<String>absent()));
final EndPointSubmitter endPointSubmitter = Brave.getEndPointSubmitter();
endPointSubmitter.submit("127.0.0.1", 9998, "brave-jersey2");
final Response response = target.request().get();
assertEquals(200, response.getStatus());
final List<Span> collectedSpans = SpanCollectorForTesting.getInstance().getCollectedSpans();
assertEquals(2, collectedSpans.size());
final Span clientSpan = collectedSpans.get(0);