public HttpHost[] getHttpHosts() {
        return httpHosts;
    }
@Test
    public void setsSchemePortAndHost() {
        EsConfig esConfig = new EsConfig("https://somehost:1234");
        HttpHost[] httpHosts = esConfig.getHttpHosts();
        assertEquals(1, httpHosts.length);
        assertEquals("https", httpHosts[0].getSchemeName());
        assertEquals(1234, httpHosts[0].getPort());
        assertEquals("somehost", httpHosts[0].getHostName());
    }