throw new IllegalArgumentException("ClickServlet cannot be null");
}
boolean isPost = request.getMethod().equalsIgnoreCase("POST");
MockServletContext servletContext =
(MockServletContext) servletConfig.getServletContext();
servletContext.setAttribute(ClickServlet.MOCK_MODE_ENABLED, Boolean.TRUE);
request.setAttribute(ClickServlet.MOCK_MODE_ENABLED, Boolean.TRUE);
clickServlet.init(servletConfig);
ConfigService configService = clickServlet.getConfigService();