@Test
public void testDoFilterMaxPayloadLength() throws Exception
{

    RequestLoggingFilter requestLoggingFilter = new RequestLoggingFilter();
    requestLoggingFilter.setMaxPayloadLength(4);
    // Run the filter.
    requestLoggingFilter.doFilter(createServletRequest(), createServletResponse(), createFilterChain());
}