abstract GenericUrl genericUrl();
@Test
  public void genericURLTest()
      throws NoSuchAlgorithmException, KeyStoreException, KeyManagementException, IOException {

    String baseURL = "http://example.com";
    HttpEventPublisher.Builder builder =
        HttpEventPublisher.newBuilder()
            .withUrl(baseURL)
            .withToken("test-token")
            .withDisableCertificateValidation(false)
            .withEnableGzipHttpCompression(true);

    assertEquals(
        new GenericUrl(Joiner.on('/').join(baseURL, "services/collector/event")),
        builder.genericUrl());
  }