### Question:
SOAPinputs extends HttpServlet { protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { } SOAPinputs(); void init(ServletConfig config);  }### Answer:
@Test public void testDoGet() { SOAPinputs info = new SOAPinputs(); try { info.doGet(null, null); } catch (ServletException ex) { fail("Should not raise exception "+ex.toString()); } catch (IOException ex) { fail("Should not raise exception "+ex.toString()); } }