A FilterChain that does nothing.
A Mock FilterConfig.
A Mock FilterConfig. Construct with a MockServletContext and pass into
A Mock ServletRequest.
A Mock ServletRequest. Change its state to create the request you are
interested in. At the very least, you will need to change method and path.
There are several things that aren't supported:
A Mock HttpServletResponse.
A Mock HttpServletResponse. Take a peek at it's writer or
outputStream to see what lift has written in response to your request
A Mock HttpSession implementation.
A Mock ServletContext.
A Mock ServletContext. LiftFilter expects a ServletContext inside a FilterConfig
A Mock ServletInputStream.
A Mock ServletInputStream. Pass in any ol InputStream like a ByteArrayInputStream.
A Mock ServletOutputStream.
A Mock ServletOutputStream. Pass in any ol' OutputStream like a ByteArrayOuputStream.