HTMLTagFilter implements Filter { public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { chain.doFilter(new HTMLTagFilterRequestWrapper((HttpServletRequest) request), response); }  void doFilter(ServletRequest request, ServletResponse response, FilterChain chain); void init(FilterConfig config); void destroy();  }
@Test public void HTMLTagFilterDoFilterTest() throws IOException, ServletException { HTMLTagFilter tagFilter = new HTMLTagFilter(); tagFilter.doFilter(new MockHttpServletRequest(), new MockHttpServletResponse(), new MockFilterChain()); }