Searched refs:mockServlet (Results 1 – 2 of 2) sorted by relevance
60 final HttpServlet mockServlet = new HttpServlet() { in testServletInitAndConfig() local63 .andReturn(mockServlet) in testServletInitAndConfig()87 assertNotNull(mockServlet.getServletContext()); in testServletInitAndConfig()88 assertEquals(contextName, mockServlet.getServletContext().getServletContextName()); in testServletInitAndConfig()89 assertEquals(Key.get(HttpServlet.class).toString(), mockServlet.getServletName()); in testServletInitAndConfig()91 final ServletConfig servletConfig = mockServlet.getServletConfig(); in testServletInitAndConfig()
83 final HttpServlet mockServlet = new HttpServlet() { in testIncludeManagedServlet() local98 .andReturn(mockServlet); in testIncludeManagedServlet()153 final HttpServlet mockServlet = new HttpServlet() { in testForwardToManagedServlet() local169 .andReturn(mockServlet); in testForwardToManagedServlet()225 final HttpServlet mockServlet = new HttpServlet() { in forwardToManagedServletFailureOnCommittedBuffer() local240 .andReturn(mockServlet); in forwardToManagedServletFailureOnCommittedBuffer()