EnvironmentConfiguration extends AbstractConfiguration implements Configuration { @Override public Map<String, Object> asMap() { return unmodifiableMap(new HashMap<String, Object>(getenv())); }  @Override Map<String, Object> asMap(); @Override void define(final String key, final Object value); @Override Object getValue(final String key); @Override void remove(final String key);  }
@Test public void testAsMap() throws Exception { final EnvironmentConfiguration configuration = new EnvironmentConfiguration(); logger.debug("Map: {}", configuration.asMap()); assertNotNull(configuration.asMap()); }