CsrfGateFilter implements Filter { @Override public void destroy() { this.innerCsrfFilter.destroy(); } CsrfGateFilter( CsrfTokenRepository csrfTokenRepository ); void setAccessDeniedHandler( AccessDeniedHandler accessDeniedHandler ); @Override void init( FilterConfig filterConfig ); @Override void doFilter( ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain ); @Override void destroy();  }
@Test public void testDestroy() throws Exception { this.csrfGateFilter.destroy(); }