### Question:
WebConfiguration { private void load() { XmlLoader xml = new XmlLoader(path); List<XmlLoader> servlets = xml.find("/web-app/servlet"); for(XmlLoader servletXml : servlets) { if(!isYawpServlet(servletXml)) { continue; } List<XmlLoader> initParams = servletXml.find("init-param"); for(XmlLoader initParamXml : initParams) { if(!isPackagePrefixParam(initParamXml)) { continue; } XmlLoader paramValueXml = findFirst(initParamXml, "param-value"); if(paramValueXml == null) { continue; } this.packagePrefix = paramValueXml.getTextContent(); return; } } } WebConfiguration(String path); String getPackagePrefix();  }### Answer:
@Test public void testLoad() throws IOException { WebConfiguration config = new WebConfiguration(getPath()); assertEquals("yawpapp", config.getPackagePrefix()); }