### Question:
PasswordChangeServlet extends HttpServlet { @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { askForCredentialsPage(resp); }   static final String RESOURCE_PAGE_FILE; static final String OLD_PASSWORD; static final String NEW_PASSWORD_1; static final String NEW_PASSWORD_2; }### Answer:
@Test public void testDoGet() throws Exception { MockHttpServletRequest request = new MockHttpServletRequest(); MockHttpServletResponse response = new MockHttpServletResponse(); servlet.doGet(request, response); validateHtmlResponseContent(response, "SeLion Grid - Change Password", "Fill out the form to change the management console password"); }