question: public void testGetVersion22 ( ) throws Exception { String xml = WEBAPP_22_HEADER + "</web-app>" ; WebXml webXml = WebXmlIo . parseWebXml ( new ByteArrayInputStream ( xml . getBytes ( "UTF-8" ) ) , getEntityResolver ( ) ) ; assertEquals ( WebXmlVersion . V2_2 , webXml . getVersion ( ) ) ; }
target:  Tests whether a servlet API version 2.2 descriptor is correctly detected.