### Question:
PropertiesSet { public String getProperty(String name) { for (Properties properties : propertiesSet) { String value = properties.getProperty(name); if (value != null) return value; } return null; }  String getProperty(String name); void load(InputStream inputStream); void load(URL location); void load(Enumeration<URL> locations); void clear();  }### Answer:
@Test public void testGetProperty() throws Exception { assertThat(propertiesSet.getProperty("property1"), is(equalTo("set1"))); assertThat(propertiesSet.getProperty("property2"), is(equalTo("set2"))); assertThat(propertiesSet.getProperty("property3"), is(equalTo("set1"))); }