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