/**
   * Run the void processPathConfig(String,String) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 4/19/14 3:12 PM
   */
  @Test
  public void testProcessPathConfig_2() throws Exception {
    BasicHttpAuthenticationFilter fixture = new BasicHttpAuthenticationFilter();
    fixture.pathMatcher = new AntPathMatcher();
    fixture.appliedPaths = new LinkedHashMap();
    String path = "";
    String config = null;

    fixture.processPathConfig(path, config);

    // add additional test code here
  }
  /**
   * Run the boolean pathsMatch(String,String) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 4/19/14 3:12 PM
   */
  @Test
  public void testPathsMatch_1() throws Exception {
    BasicHttpAuthenticationFilter fixture = new BasicHttpAuthenticationFilter();
    fixture.pathMatcher = new AntPathMatcher();
    fixture.appliedPaths = new LinkedHashMap();
    String pattern = "";
    String path = "";

    boolean result = fixture.pathsMatch(pattern, path);

    // add additional test code here
    assertTrue(result);
  }
  /**
   * Run the String getPathWithinApplication(ServletRequest) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 4/19/14 3:12 PM
   */
  @Test
  public void testGetPathWithinApplication_1() 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);

    String result = fixture.getPathWithinApplication(request);

    // add additional test code here
    assertNotNull(result);
  }
  /**
   * Run the boolean pathsMatch(String,ServletRequest) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 4/19/14 3:12 PM
   */
  @Test
  public void testPathsMatch_4() throws Exception {
    BasicHttpAuthenticationFilter fixture = new BasicHttpAuthenticationFilter();
    fixture.pathMatcher = new AntPathMatcher();
    fixture.appliedPaths = new LinkedHashMap();
    String path = "";
    ServletRequest request =
        new JSecurityHttpServletRequest(
            new HttpServletRequestWrapper((HttpServletRequest) null), (ServletContext) null, true);

    boolean result = fixture.pathsMatch(path, request);

    // add additional test code here
    assertTrue(result);
  }
  /**
   * 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);
  }
  /**
   * Run the boolean onPreHandle(ServletRequest,ServletResponse,Object) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 4/19/14 3:12 PM
   */
  @Test
  public void testOnPreHandle_1() 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));
    Object mappedValue = new Object();

    boolean result = fixture.onPreHandle(request, response, mappedValue);

    // add additional test code here
    assertTrue(result);
  }