PseudoAuthenticationHandler implements AuthenticationHandler { @Override public String getType() { return type; } PseudoAuthenticationHandler();  PseudoAuthenticationHandler(String type); @Override void init(Properties config); @Override void destroy(); @Override String getType(); @Override boolean managementOperation(AuthenticationToken token,
                                     HttpServletRequest request,
                                     HttpServletResponse response); @Override AuthenticationToken authenticate(HttpServletRequest request, HttpServletResponse response); static final String TYPE; static final String ANONYMOUS_ALLOWED; }
@Test public void testType() throws Exception { PseudoAuthenticationHandler handler = new PseudoAuthenticationHandler(); Assert.assertEquals(PseudoAuthenticationHandler.TYPE, handler.getType()); }