### Question:
ListAllNodes extends RegistryBasedServlet { @Override protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { process(request, response); } ListAllNodes();  ListAllNodes(GridRegistry registry);  static final String RESOURCE_PAGE_FILE; static final String PING_NODES; }### Answer:
@Test public void testGetForHtmlResponse() throws Exception { MockHttpServletRequest request = new MockHttpServletRequest(); MockHttpServletResponse response = new MockHttpServletResponse(); servlet.doGet(request, response); validateHtmlResponseContent(response, "SeLion Grid - Node Console", String.format("\"remoteHost\":\"http: }
@Test public void testGetForJsonResponse() throws Exception { MockHttpServletRequest request = new MockHttpServletRequest(); MockHttpServletResponse response = new MockHttpServletResponse(); request.addHeader("Accept", "application/json"); servlet.doGet(request, response); validateJsonResponse(response); }