public void testValue() throws Exception {
request.setAttribute("cats", new StringReader("cats & dogs"));
request.setAttribute("dogs", new StringReader("cats & dogs"));
RequestDispatcher rd = config.getServletContext().getRequestDispatcher(TestUtil.getTestJsp(this));
rd.forward(request, response);
}
public void endValue(WebResponse response) throws Exception {
assertEquals(TestUtil.loadResource(this), response.getText());
}