### Question:
IpBlockFilter implements Filter { @Override public void init(FilterConfig filterConfig) throws ServletException { initializeReloadCommandParamName(filterConfig); createIpBlocker(filterConfig); }  @Override void init(FilterConfig filterConfig); @Override void doFilter(ServletRequest request, ServletResponse response, FilterChain chain); @Override void destroy(); static final String RELOAD_COMMAND_PARAM_NAME_CONFIG_NAME; static final String DEFAULT_RELOAD_COMMAND_PARAM_NAME_VALUE; }### Answer:
@Test public void filterInit() throws ServletException, IOException { assertFalse(FakeIpBlocker.created); filter.init(mockFilterConfig); assertTrue(FakeIpBlocker.created); }