### Question:
XmlLoader { public void load(String path) { try { DocumentBuilderFactory dbf = createDocumentFactory(); DocumentBuilder db = dbf.newDocumentBuilder(); item = db.parse(path).getDocumentElement(); } catch (ParserConfigurationException | SAXException | IOException e) { throw new RuntimeException(e); } } XmlLoader(String path);  XmlLoader(Node item); void load(String path); List<XmlLoader> find(String xpath); String getTextContent(); String getAttributeText(String attr);  }### Answer:
@Test public void testLoad() throws IOException { List<XmlLoader> envs = loadFromXml(); assertEquals(4, envs.size()); }