JspWrapper implements InvocationHandler { JspWrapper(String path, RequestDispatcher requestDispatcher) { super(); assert path != null; assert requestDispatcher != null; JSP_COUNTER.setDisplayed(!COUNTER_HIDDEN); JSP_COUNTER.setUsed(true); this.path = path; this.requestDispatcher = requestDispatcher; } JspWrapper(String path, RequestDispatcher requestDispatcher); @Override Object invoke(Object proxy, Method method, Object[] args);  }
@Test public void testJspWrapper() throws ServletException, IOException { test(2); test(3); }