@Test void getProperties() { KeyMap<String> map = new KeyMap<>(); map.findOrAdd("root.foo").putRootValue("bar"); map.findOrAdd("root.foo.bar").putRootValue("baz"); map.findOrAdd("root.foo.bar.*").putRootValue("baz"); map.findOrAdd("root.foo.bar.*.baz").putRootValue("anything"); ConfigSource source = getSource(map); Map<String, String> properties = source.getProperties(); assertTrue(properties.isEmpty()); }
@Override public Map<String, String> getProperties() { return Collections.emptyMap(); }
KeyMapBackedConfigSource extends AbstractConfigSource { @Override public Map<String, String> getProperties() { return Collections.emptyMap(); } }
KeyMapBackedConfigSource extends AbstractConfigSource { @Override public Map<String, String> getProperties() { return Collections.emptyMap(); } KeyMapBackedConfigSource(final String name, final KeyMap<String> properties);  KeyMapBackedConfigSource(final String name, final int ordinal, final KeyMap<String> properties); }
KeyMapBackedConfigSource extends AbstractConfigSource { @Override public Map<String, String> getProperties() { return Collections.emptyMap(); } KeyMapBackedConfigSource(final String name, final KeyMap<String> properties);  KeyMapBackedConfigSource(final String name, final int ordinal, final KeyMap<String> properties); @Override Map<String, String> getProperties(); @Override String getValue(final String propertyName); }
KeyMapBackedConfigSource extends AbstractConfigSource { @Override public Map<String, String> getProperties() { return Collections.emptyMap(); } KeyMapBackedConfigSource(final String name, final KeyMap<String> properties);  KeyMapBackedConfigSource(final String name, final int ordinal, final KeyMap<String> properties); @Override Map<String, String> getProperties(); @Override String getValue(final String propertyName);  }