@Test public void buildingWithValidName() { final String key = "myTestKey"; Builder builder = SimplePropertySource.newBuilder().withName(key); assertThat(builder.build().getName()).isEqualTo(key); }
public static Builder newBuilder() { return new Builder(); }
SimplePropertySource extends BasePropertySource { public static Builder newBuilder() { return new Builder(); } }
SimplePropertySource extends BasePropertySource { public static Builder newBuilder() { return new Builder(); } 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); }
SimplePropertySource extends BasePropertySource { public static Builder newBuilder() { return new Builder(); } 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(); }
SimplePropertySource extends BasePropertySource { public static Builder newBuilder() { return new Builder(); } 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();  }