### Question:
TrimFilter implements Filter { @Override public void destroy() { this.wrappedTrimFilter.destroy(); } TrimFilter();  TrimFilter(Filter wrappedTrimFilter); @Override void init(FilterConfig filterConfig); @Override void doFilter(ServletRequest request, ServletResponse response, FilterChain chain); @Override void destroy();  }### Answer:
@Test public void testDestroy() { trimFilter.destroy(); Mockito.verify(wrappedTrimFilter).destroy(); }