### Question:
XML { public static Properties toProperties(final List<Property> props) { Properties result = new Properties(); for (Property p : props) { result.setProperty(p.getName(), p.getValue()); } return result; }  static boolean parseBoolean(final String booleanText); static String parseProviderType(String providerType); static Properties toProperties(final List<Property> props);  }### Answer:
@Test public void testProps() throws Exception { System.out.println("testProps"); for (String sampleXMLPath : SAMPLE_XML_PATH) { System.out.println(" Testing with " + sampleXMLPath); ClientContainer cc = readConfig(sampleXMLPath); Properties props = XML.toProperties(cc.getProperty()); assertEquals("property value mismatch for first property from " + sampleXMLPath, FIRST_PROP_VALUE, props.getProperty(FIRST_PROP_NAME)); assertEquals("property value mismatch for second property from " + sampleXMLPath, SECOND_PROP_VALUE, props.getProperty(SECOND_PROP_NAME)); } }