@Test
public void testBasicConstructor() {

    PropertiesResourcePropertySource source = new PropertiesResourcePropertySource(resource);
    assertThat(source).isNotNull();
    assertThat(source.getProperties()).hasSize(5).containsKey("key1"); // double the getNumChilds for .source values.
}