### Question:
LoginFilter implements Filter { @Override public void init(FilterConfig arg0) throws ServletException { LOGGER.debug("LoginFilter initialized"); }  @Override void doFilter(ServletRequest servletRequest,
            ServletResponse servletResponse, FilterChain filterChain); @Override void init(FilterConfig arg0); @Override void destroy(); static final String LOGIN_PAGE; }### Answer:
@Test public void testInit() { try { loginFilter.init(filterConfig); } catch (ServletException e) { fail("no error should be thrown"); } }