### Question:
SecurityFilter implements ContainerRequestFilter { @Override public void filter(ContainerRequestContext request) throws IOException { log.info("Filter(): " + request.getUriInfo().getPath()); String path = request.getUriInfo().getPath(); if(!path.startsWith("/auth/user/data") && !path.startsWith("/auth/user/data/")) if ( path.startsWith("auth") || path.startsWith("/auth") || securityManager.getSafePaths().contains(path) ) { log.info("Auth Skipped : (" + path +")"); return; } UserContext context = authenticate(request); if (context != null) { log.info("Authenticated: " + context.getUser().getEmailAddress()); } else { log.info("Authentication Failed"); } request.setProperty(Session.SESSION_KEY,context); request.setSecurityContext(context); } SecurityFilter(); @Override void filter(ContainerRequestContext request);  }### Answer:
@Test public void testFilter() throws Exception { }