@Test public void getConfigValueProperties() { Map<String, ConfigValue> map = config().getConfigValueProperties(); assertEquals(1, map.size()); assertTrue(map.containsKey("my.prop")); assertEquals("1234", map.get("my.prop").getValue()); }
@Override public Map<String, ConfigValue> getConfigValueProperties() { return new ConfigValueMapStringView(configSource.getProperties(), configSource.getName(), configSource.getOrdinal()); }
ConfigValueConfigSourceWrapper implements ConfigValueConfigSource, Serializable { @Override public Map<String, ConfigValue> getConfigValueProperties() { return new ConfigValueMapStringView(configSource.getProperties(), configSource.getName(), configSource.getOrdinal()); } }
ConfigValueConfigSourceWrapper implements ConfigValueConfigSource, Serializable { @Override public Map<String, ConfigValue> getConfigValueProperties() { return new ConfigValueMapStringView(configSource.getProperties(), configSource.getName(), configSource.getOrdinal()); } private  ConfigValueConfigSourceWrapper(final ConfigSource configSource); }
ConfigValueConfigSourceWrapper implements ConfigValueConfigSource, Serializable { @Override public Map<String, ConfigValue> getConfigValueProperties() { return new ConfigValueMapStringView(configSource.getProperties(), configSource.getName(), configSource.getOrdinal()); } private  ConfigValueConfigSourceWrapper(final ConfigSource configSource); @Override ConfigValue getConfigValue(final String propertyName); @Override Map<String, ConfigValue> getConfigValueProperties(); @Override Map<String, String> getProperties(); @Override String getValue(final String propertyName); @Override Set<String> getPropertyNames(); @Override String getName(); @Override int getOrdinal(); }
ConfigValueConfigSourceWrapper implements ConfigValueConfigSource, Serializable { @Override public Map<String, ConfigValue> getConfigValueProperties() { return new ConfigValueMapStringView(configSource.getProperties(), configSource.getName(), configSource.getOrdinal()); } private  ConfigValueConfigSourceWrapper(final ConfigSource configSource); @Override ConfigValue getConfigValue(final String propertyName); @Override Map<String, ConfigValue> getConfigValueProperties(); @Override Map<String, String> getProperties(); @Override String getValue(final String propertyName); @Override Set<String> getPropertyNames(); @Override String getName(); @Override int getOrdinal();  }