@Test
void testParseWebXml2() throws Exception {

    DefaultWebApplication webApplication = new DefaultWebApplication();
    webApplication.addResource(new DirectoryResource(new File("src/test/webxml/parse2")));
    InputStream inputStream = webApplication.getResourceAsStream("WEB-INF/web.xml");
    WebXmlParser parser = new WebXmlParser();
    WebXml webXml = parser.parse(inputStream);
    assertNotEquals("/defaultContextPath", webXml.getDefaultContextPath());
    assertFalse(webXml.getDenyUncoveredHttpMethods());
    assertNotEquals("myServletContextName", webXml.getDisplayName());
    assertFalse(webXml.isDistributable());
    assertNotEquals("UTF-8", webXml.getResponseCharacterEncoding());
}