@Test
public void processProtectedRequest() throws Exception
{

    recordConfig();
    expect(request.getRequestURI()).andAnswer(eval("/some-uri"));
    expect(request.getParameter("Good-Login")).andAnswer(eval("Nestor"));
    expect(request.getCharacterEncoding()).andAnswer(eval("utf-8"));
    expect(request.getRequestURI()).andAnswer(eval("/some-uri"));
    filterChain.doFilter(request, response);
    replayAll();
    authFilter = new AuthFilter();
    authFilter.init(filterConfig);
    authFilter.doFilter(request, response, filterChain);
}