@Test
public void successfulCreationWithPropertiesFromURL() throws URISyntaxException {

    URL resource = getClass().getResource("/valid-properties.xml");
    SimplePropertySource source = new SimplePropertySource(resource);
    assertThat(source).isNotNull();
    assertThat(source.getProperties()).hasSize(2); // double the getNumChilds for .source values.
    assertThat(source.getProperties()).contains(entry("a", PropertyValue.createValue("a", "b")));
    assertThat(source.getProperties()).contains(entry("b", PropertyValue.createValue("b", "1")));
}