/**
   * 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);
  }