ZipkinSender implements Sender { public static ZipkinSender create(String endpoint) { return new ZipkinSender( URLConnectionSender.newBuilder().encoding(Encoding.THRIFT).endpoint(endpoint).build()); } ZipkinSender(zipkin2.reporter.Sender delegate); static ZipkinSender create(String endpoint); static ZipkinSender create(zipkin2.reporter.Sender delegate); @Override int append(JaegerSpan span); @Override int flush(); @Override int close();  }
@Test(expected = IllegalArgumentException.class) public void testJsonNotAllowed() { ZipkinSender.create(URLConnectionSender.create("http: }