}
@Before
public final void prepareRequest() throws Exception {
ServletRunner servletRunner = new ServletRunner(new File(srcdir, "WEB-INF/web.xml"), "/myapp");
ServletUnitClient client = servletRunner.newClient();
InvocationContext invocationContext = client.newInvocation("http://localhost/myapp/myservlet");
HttpServletRequest request = invocationContext.getRequest();
HttpServletResponse response = invocationContext.getResponse();
ServletConfig config = invocationContext.getServlet().getServletConfig();