### Question:
Tomcat5ServerXML extends XMLDocument { public void update() throws InstallationFailedException { setHTTPPort(); setShutdownPort(); setSSLPort(); setURIEncoding(); } Tomcat5ServerXML(File serverXML, InstallOptions installOptions);  Tomcat5ServerXML(InputStream serverXML, InstallOptions installOptions); void update(); void setHTTPPort(); void setShutdownPort(); void setSSLPort(); void setURIEncoding();  }### Answer:
@Test public void testUpdate() throws Exception { TomcatServerXML serverXML; serverXML = new TomcatServerXML(is, installOptions); serverXML.update(); }