@Test(dataProvider = "envPropMap") public void testResolveDashedProperties(String key, String value, String keyENV, String valueENV) throws Exception { Properties props = new Properties(); props.put(key, value); props = EnvironmentPropertyConfigurer.resolveDashedProperties(props); assertEquals(props.size(), 1); assertEquals(props.get(key), value); Map<String, String> envMap = Maps.newHashMap(System.getenv()); envMap.put(keyENV, valueENV); props = EnvironmentPropertyConfigurer.resolveDashedProperties(props, envMap); assertEquals(props.size(), 1); assertEquals(props.get(key), valueENV); }
public static Properties resolveDashedProperties(Properties properties) { final Map<String, String> envEntries = System.getenv(); return resolveDashedProperties(properties, envEntries); }
EnvironmentPropertyConfigurer { public static Properties resolveDashedProperties(Properties properties) { final Map<String, String> envEntries = System.getenv(); return resolveDashedProperties(properties, envEntries); } }
EnvironmentPropertyConfigurer { public static Properties resolveDashedProperties(Properties properties) { final Map<String, String> envEntries = System.getenv(); return resolveDashedProperties(properties, envEntries); }  }
EnvironmentPropertyConfigurer { public static Properties resolveDashedProperties(Properties properties) { final Map<String, String> envEntries = System.getenv(); return resolveDashedProperties(properties, envEntries); }  static Properties resolveDashedProperties(Properties properties); }
EnvironmentPropertyConfigurer { public static Properties resolveDashedProperties(Properties properties) { final Map<String, String> envEntries = System.getenv(); return resolveDashedProperties(properties, envEntries); }  static Properties resolveDashedProperties(Properties properties);  }