@Test public void testOf() throws Exception { PropertySource ps = DefaultPropertySourceSnapshot.of(MY_PS); assertThat(ps).isNotNull(); }
public static DefaultPropertySourceSnapshot of(PropertySource propertySource) { Set<String> keySet = propertySource.getProperties().keySet(); return DefaultPropertySourceSnapshot.of(propertySource, keySet); }
DefaultPropertySourceSnapshot implements PropertySource, Serializable { public static DefaultPropertySourceSnapshot of(PropertySource propertySource) { Set<String> keySet = propertySource.getProperties().keySet(); return DefaultPropertySourceSnapshot.of(propertySource, keySet); } }
DefaultPropertySourceSnapshot implements PropertySource, Serializable { public static DefaultPropertySourceSnapshot of(PropertySource propertySource) { Set<String> keySet = propertySource.getProperties().keySet(); return DefaultPropertySourceSnapshot.of(propertySource, keySet); } DefaultPropertySourceSnapshot(PropertySource propertySource);  DefaultPropertySourceSnapshot(PropertySource propertySource, Iterable<String> keys); }
DefaultPropertySourceSnapshot implements PropertySource, Serializable { public static DefaultPropertySourceSnapshot of(PropertySource propertySource) { Set<String> keySet = propertySource.getProperties().keySet(); return DefaultPropertySourceSnapshot.of(propertySource, keySet); } DefaultPropertySourceSnapshot(PropertySource propertySource);  DefaultPropertySourceSnapshot(PropertySource propertySource, Iterable<String> keys); static DefaultPropertySourceSnapshot of(PropertySource propertySource); static DefaultPropertySourceSnapshot of(PropertySource propertySource, Iterable<String> keys); Set<String> getKeys(); @Override String getName(); int getOrdinal(); long getFrozenAt(); @Override PropertyValue get(String key); @Override Map<String, PropertyValue> getProperties(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
DefaultPropertySourceSnapshot implements PropertySource, Serializable { public static DefaultPropertySourceSnapshot of(PropertySource propertySource) { Set<String> keySet = propertySource.getProperties().keySet(); return DefaultPropertySourceSnapshot.of(propertySource, keySet); } DefaultPropertySourceSnapshot(PropertySource propertySource);  DefaultPropertySourceSnapshot(PropertySource propertySource, Iterable<String> keys); static DefaultPropertySourceSnapshot of(PropertySource propertySource); static DefaultPropertySourceSnapshot of(PropertySource propertySource, Iterable<String> keys); Set<String> getKeys(); @Override String getName(); int getOrdinal(); long getFrozenAt(); @Override PropertyValue get(String key); @Override Map<String, PropertyValue> getProperties(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }