/** * Run the boolean preHandle(ServletRequest,ServletResponse) method test. * * @throws Exception * @generatedBy CodePro at 4/19/14 3:12 PM */ @Test(expected = java.lang.Exception.class) public void testPreHandle_7() throws Exception { BasicHttpAuthenticationFilter fixture = new BasicHttpAuthenticationFilter(); fixture.pathMatcher = new AntPathMatcher(); fixture.appliedPaths = new LinkedHashMap(); ServletRequest request = new JSecurityHttpServletRequest( new HttpServletRequestWrapper((HttpServletRequest) null), (ServletContext) null, true); ServletResponse response = new JSecurityHttpServletResponse( new HttpServletResponseWrapper((HttpServletResponse) null), (ServletContext) null, new JSecurityHttpServletRequest( new HttpServletRequestWrapper((HttpServletRequest) null), (ServletContext) null, true)); boolean result = fixture.preHandle(request, response); // add additional test code here assertTrue(result); }