@Test
public void defaultConfigNoEsFile() {
// check that all ES settings will be taken from the default values in Configuration.java if nothing is specified.
Map<String, String> minimalSettings = Maps.newHashMap();
Configuration defaultConfig = setupConfig(minimalSettings);
Map<String, String> settings = Maps.newHashMap();
Configuration config = setupConfig(settings);
Map<String, String> nodeSettings = EsNodeProvider.readNodeSettings(config);
assertEquals(defaultConfig.getEsClusterName(), nodeSettings.get("cluster.name"));
assertEquals(defaultConfig.getEsNodeName(), nodeSettings.get("node.name"));