### Question:
GeneratePages extends HttpServlet { @Override protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { } GeneratePages(); @Override void init(ServletConfig config); static String configLocation; }### Answer:
@Test public void testDoGet() throws Exception { HttpServletRequest request = null; HttpServletResponse response = null; GeneratePages instance = new GeneratePages(); instance.doGet(request, response); }