SimplePropertySource extends BasePropertySource { @Override public ChangeSupport getChangeSupport(){ return ChangeSupport.IMMUTABLE; } SimplePropertySource(File propertiesLocation);  SimplePropertySource(URL propertiesLocation);  SimplePropertySource(String name, Map<String, String> properties, int defaultOrdinal);  SimplePropertySource(String name, Map<String, String> properties);  SimplePropertySource(String name, URL propertiesLocation); private  SimplePropertySource(Builder builder); static Builder newBuilder(); @Override Map<String, PropertyValue> getProperties(); @Override ChangeSupport getChangeSupport();  }
@Test public void getChangeSupport(){ URL resource = getClass().getResource("/valid-properties.xml"); SimplePropertySource source = new SimplePropertySource(resource); assertThat(ChangeSupport.IMMUTABLE).isEqualTo(source.getChangeSupport()); }