### Question:
KafkaComputerLauncher extends ComputerLauncher { public void setEnableSSL(boolean enableSSL) { this.enableSSL = enableSSL; } KafkaComputerLauncher();  KafkaComputerLauncher(String kafkaUsername, String sslTruststoreLocation, String sslKeystoreLocation); @DataBoundConstructor  KafkaComputerLauncher(String kafkaUsername, String sslTruststoreLocation, String sslKeystoreLocation,
                                 String enableSSL); @Override synchronized void launch(SlaveComputer computer, final TaskListener listener); @Override void afterDisconnect(SlaveComputer computer, final TaskListener listener); String getLaunchSecret(@Nonnull Computer computer); String getLaunchArguments(@Nonnull Computer computer); String getKafkaURL(); String getKafkaUsername(); void setKafkaUsername(String kafkaUsername); String getSslTruststoreLocation(); void setSslTruststoreLocation(String sslTruststoreLocation); String getSslKeystoreLocation(); void setSslKeystoreLocation(String sslKeystoreLocation); boolean getEnableSSL(); void setEnableSSL(boolean enableSSL);  }### Answer:
@Test public void configureRoundTrip() throws Exception { GlobalKafkaConfiguration g = GlobalKafkaConfiguration.get(); String kafkaURL = kafka.getBootstrapServers().split(" String zookeeperURL = kafka.getContainerIpAddress() + ":" + kafka.getMappedPort(2181); g.setBrokerURL(kafkaURL); g.setZookeeperURL(zookeeperURL); g.setEnableSSL(false); g.save(); g.load(); KafkaComputerLauncher launcher = new KafkaComputerLauncher("", "", "", "false"); DumbSlave agent = new DumbSlave("test", "/tmp/", launcher); j.jenkins.addNode(agent); Computer c = j.jenkins.getComputer("test"); assertNotNull(c); Thread.sleep(10000); String[] urls = j.getInstance().getRootUrl().split("/"); String jenkinsURL = urls[0] + " String[] args = new String[]{"-name", "test", "-master", jenkinsURL, "-secret", KafkaSecretManager.getConnectionSecret("test"), "-kafkaURL", kafkaURL, "-noauth"}; AgentRunnable runnable = new AgentRunnable(args); Thread t = new Thread(runnable); try { t.start(); Thread.sleep(10000); FreeStyleProject p = j.createFreeStyleProject(); p.setAssignedNode(agent); j.buildAndAssertSuccess(p); } finally { t.interrupt(); } }