@@ -0,0 +1,554 @@
+package com.winterwell.web.app;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport javax.servlet.http.HttpServletRequest;%0Aimport javax.servlet.http.HttpServletResponse;%0A%0Aimport org.junit.Test;%0A%0Aimport com.winterwell.web.test.TestHttpServletRequest;%0Aimport com.winterwell.web.test.TestHttpServletResponse;%0A%0Apublic class TestWebRequest extends WebRequest %7B%0A%0A%09public TestWebRequest() %7B%0A%09%09super(new TestHttpServletRequest(), new TestHttpServletResponse());%0A%09%7D%0A%0A%09public TestHttpServletRequest getTestRequest() %7B%0A%09%09return (TestHttpServletRequest) getRequest();%0A%09%7D%0A%09%0A%7D%0A

test class