### Question:
ConfigAdapter extends AbstractConfiguration { @Deprecated @Override public Iterator<String> getKeys() { return config.getConfigValues().keySet().iterator(); } @Deprecated  ConfigAdapter( Config config ); @Deprecated @Override boolean isEmpty(); @Deprecated @Override boolean containsKey( String key ); @Deprecated @Override Object getProperty( String key ); @Deprecated @Override Iterator<String> getKeys();  }### Answer:
@Test public void shouldContainAllKeysOfPropertiesWithDefaultOrUserDefinedValues() { Config config = Config.defaults(); ConfigAdapter wrappingConfiguration = new ConfigAdapter( config ); assertTrue( wrappingConfiguration.getKeys().hasNext() ); }