### Question:
CustomFilterAdapter implements Filter, CustomFilterAdapterListener { @Override public void updateInjectedFilters(final List<Filter> injectedFilters) { this.setInjectedFilterChain(injectedFilters); } CustomFilterAdapter(CustomFilterAdapterConfiguration customFilterAdapterConfig); @Override void destroy(); @Override void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain); @Override void init(final FilterConfig newFilterConfig); @Override void updateInjectedFilters(final List<Filter> injectedFilters); @Override FilterConfig getFilterConfig();  }### Answer:
@Test public void testUpdateInjectedFilters() throws IOException, ServletException { testUpdateInjectedFilters(0); testUpdateInjectedFilters(1); testUpdateInjectedFilters(2); testUpdateInjectedFilters(100); }