ConfluentSubmitter implements Submitter { public String getProxy() { return proxy == null ? null : proxy.toString(); } ConfluentSubmitter(String customerId, String endpointHTTP, String endpointHTTPS);  ConfluentSubmitter(String componentId, ResponseHandler responseHandler);  ConfluentSubmitter(
      String customerId, String componentId, ResponseHandler responseHandler
  );  ConfluentSubmitter(
      String customerId,
      String endpointHTTP,
      String endpointHTTPS,
      String proxyURIString,
      ResponseHandler responseHandler
  ); String getProxy(); void setProxy(String name, int port, String scheme); @Override void submit(byte[] bytes);  }
@Test public void testInvalidArgumentsForConstructorWithProxy() { String httpEndpoint = "http: String httpsEndpoint = "https: String proxyURI = null; ConfluentSubmitter submitter = new ConfluentSubmitter(customerId, httpEndpoint, httpsEndpoint, proxyURI, null); assertThat(submitter.getProxy() == null); proxyURI = "https: submitter = new ConfluentSubmitter(customerId, httpEndpoint, httpsEndpoint, proxyURI, null); assertThat(submitter.getProxy().equals(proxyURI)); }