EnvironmentVariableConfigurationSource extends AbstractConfigurationSource { @Override public String getName() { return "Environment Variables"; } EnvironmentVariableConfigurationSource();  EnvironmentVariableConfigurationSource(Map<String, String> env); @Override String getValue(String key); @Override String getName(); @Override void reload();  }
@Test public void testGetName() throws Exception { final EnvironmentVariableConfigurationSource source = new EnvironmentVariableConfigurationSource(); Assert.assertEquals("Environment Variables", source.getName()); }