### Question:
GridForceRestartDelegateServlet extends RegistryBasedServlet { @Override protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { process(request, response); } GridForceRestartDelegateServlet();  GridForceRestartDelegateServlet(GridRegistry registry);  static final String RESOURCE_PAGE_FILE; static final String FORM_ID; static final String SUBMIT; static final String NODES; }### Answer:
@Test public void testGetForRedirectToLoginServlet() throws Exception { MockHttpServletRequest request = new MockHttpServletRequest(); MockHttpServletResponse response = new MockHttpServletResponse(); servlet.doGet(request, response); validateRedirectedToLoginServlet(response); }
@Test public void testGetDefaultHtmlResponse() throws Exception { MockHttpServletRequest request = new MockHttpServletRequest(); request.getSession(true); MockHttpServletResponse response = new MockHttpServletResponse(); servlet.doGet(request, response); validateDefaultHtmlResponse(response); }