@Test
public void doFilterTestAnyPath() throws IOException, ServletException {

    HttpServletRequest servletRequest = mock(HttpServletRequest.class);
    HttpServletResponse servletResponse = mock(HttpServletResponse.class);
    FilterChain filterChain = mock(FilterChain.class);
    HttpSession httpSession = mock(HttpSession.class);
    Authentication authResult = mock(Authentication.class);
    PaasManagerUser paasUser = mock(PaasManagerUser.class);
    when(servletRequest.getHeader(OpenStackAuthenticationFilter.OPENSTACK_HEADER_TOKEN))
            .thenReturn("3df25213cac246f8bccad5c70cb3582e").thenReturn("00000000000000000000000000000194")
            .thenReturn("1234");
    when(servletRequest.getRequestURI()).thenReturn("/vdc/00000000000000000000000000000194/");
    when(servletRequest.getPathInfo()).thenReturn("/path");
    when(servletRequest.getSession()).thenReturn(httpSession);
    when(httpSession.getId()).thenReturn("1234");
    when(authenticationManager.authenticate(any(Authentication.class))).thenReturn(authResult);
    when(authResult.getPrincipal()).thenReturn(paasUser);
    openStackAuthenticationFilter.doFilter(servletRequest, servletResponse, filterChain);
}