HttpEventPublisher { abstract GenericUrl genericUrl();    }
@Test public void genericURLTest() throws NoSuchAlgorithmException, KeyStoreException, KeyManagementException, IOException { String baseURL = "http: HttpEventPublisher.Builder builder = HttpEventPublisher.newBuilder() .withUrl(baseURL) .withToken("test-token") .withDisableCertificateValidation(false); assertEquals( new GenericUrl(Joiner.on('/').join(baseURL, "services/collector/event")), builder.genericUrl()); }