### Question:
ElasticsearchClientConfiguration { public static TransportAddress[] getTransportAddress(ConnectorClusterConfig config) throws ExecutionException{ String[] hosts = PropertyValueRecovered.recoveredValueASArray(String.class, config.getClusterOptions().get(HOST.getManifestOption())); String[] ports = PropertyValueRecovered.recoveredValueASArray(String.class, config.getClusterOptions().get(PORT.getManifestOption())); TransportAddress[] transportAddresses = new TransportAddress[hosts.length]; for (int i = 0; i < hosts.length; i++) { transportAddresses[i] = new InetSocketTransportAddress(hosts[i], Integer.decode(ports[i])); } return transportAddresses; } private  ElasticsearchClientConfiguration(); static Settings getSettings(ConnectorClusterConfig configuration); static TransportAddress[] getTransportAddress(ConnectorClusterConfig config);  }### Answer:
@Test public void testGetTransporAddress() throws Exception { Map<String, String> clusterOptions = new HashMap<>(); clusterOptions.put(HOST.getManifestOption(), "10.200.0.58,10.200.0.59,10.200.0.60"); clusterOptions.put(PORT.getManifestOption(), "2800,2802,2809"); ConnectorClusterConfig configuration = new ConnectorClusterConfig(THE_CLUSTER_NAME, Collections.EMPTY_MAP, clusterOptions); TransportAddress[] result = ElasticsearchClientConfiguration.getTransportAddress(configuration); assertNotNull("The result is not null", result); assertEquals("The result number is correct", 3, result.length); assertEquals("The first address is correct", "inet[/10.200.0.58:2800]", result[0].toString()); assertEquals("The second address is correct", "inet[/10.200.0.59:2802]", result[1].toString()); assertEquals("The third address is correct", "inet[/10.200.0.60:2809]", result[2].toString()); }