@Test
public void usesAdditionalConfiguration() throws Exception {

    Map<String, String> additionalSettings = additionalSettings();
    EsConfig esConfig = new EsConfig(clusterName, nodes, additionalSettings);
    Settings settings = esConfig.toBasicSettings();
    assertSettingsContainAllAdditionalValues(settings, additionalSettings);
}