@Test public void sendInternalServerError() throws IOException { servlet.sendInternalServerError(response); verify(response, times(1)).setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR); }
protected void sendInternalServerError(SlingHttpServletResponse response) throws IOException { writeResult(response, ERROR_MESSAGE_INTERNAL_SERVER, HttpServletResponse.SC_INTERNAL_SERVER_ERROR); }
BaseServlet extends SlingAllMethodsServlet { protected void sendInternalServerError(SlingHttpServletResponse response) throws IOException { writeResult(response, ERROR_MESSAGE_INTERNAL_SERVER, HttpServletResponse.SC_INTERNAL_SERVER_ERROR); } }
BaseServlet extends SlingAllMethodsServlet { protected void sendInternalServerError(SlingHttpServletResponse response) throws IOException { writeResult(response, ERROR_MESSAGE_INTERNAL_SERVER, HttpServletResponse.SC_INTERNAL_SERVER_ERROR); }  }
BaseServlet extends SlingAllMethodsServlet { protected void sendInternalServerError(SlingHttpServletResponse response) throws IOException { writeResult(response, ERROR_MESSAGE_INTERNAL_SERVER, HttpServletResponse.SC_INTERNAL_SERVER_ERROR); }   }
BaseServlet extends SlingAllMethodsServlet { protected void sendInternalServerError(SlingHttpServletResponse response) throws IOException { writeResult(response, ERROR_MESSAGE_INTERNAL_SERVER, HttpServletResponse.SC_INTERNAL_SERVER_ERROR); }    }