@Test public void testCamelCaseAliases() { Map<String, String> env = toMap("app_someKey", "v"); Map<String, String> expanded = EnvironmentVariables.expand(env); assertThat(expanded, is(not(nullValue()))); assertThat(expanded.size(), is(3)); assertThat(expanded, hasEntry("app_someKey", "v")); assertThat(expanded, hasEntry("app.someKey", "v")); assertThat(expanded, hasEntry("app.somekey", "v")); }
public static Map<String, String> expand() { return expand(System.getenv()); }
EnvironmentVariables { public static Map<String, String> expand() { return expand(System.getenv()); } }
EnvironmentVariables { public static Map<String, String> expand() { return expand(System.getenv()); } private  EnvironmentVariables(); }
EnvironmentVariables { public static Map<String, String> expand() { return expand(System.getenv()); } private  EnvironmentVariables(); static boolean shouldAlias(final String name); static Map<String, String> expand(); static Map<String, String> expand(final Map<String, String> env); }
EnvironmentVariables { public static Map<String, String> expand() { return expand(System.getenv()); } private  EnvironmentVariables(); static boolean shouldAlias(final String name); static Map<String, String> expand(); static Map<String, String> expand(final Map<String, String> env);  }