root.addResource(ServerResourcePath.WEB_XML, webXml);
assertEquals(1, root.getPaths().size());
MockResource facesConfig = new MockResource();
root.addResource(ServerResourcePath.FACES_CONFIG, facesConfig);
assertEquals(1, root.getPaths().size());
ServerResource webInf = root.getResource(ServerResourcePath.WEB_INF);
assertNotNull(webInf);
assertEquals(2, webInf.getPaths().size());
assertSame(webXml, webInf
.getResource(new ServerResourcePath("/web.xml")));
assertSame(facesConfig, webInf.getResource(new ServerResourcePath(
"/faces-config.xml")));
}