+ "</web-app>";
Document mergeDoc =
builder.parse(new ByteArrayInputStream(mergeXml.getBytes()));
WebXml mergeWebXml = new WebXml(mergeDoc);
WebXmlMerger merger = new WebXmlMerger(srcWebXml);
merger.merge(mergeWebXml);
Iterator servletNames = srcWebXml.getServletNames();
assertEquals("s1", servletNames.next());
assertEquals("s2", servletNames.next());
assertEquals("s3", servletNames.next());
assertEquals("s4", servletNames.next());