@Test
public void destroy() throws Exception {

    AbstractFilter filter = initFilter(createNoOverridesFilter());
    filter.destroy();
    assertThat(filter.getFilterConfig(), nullValue());
    assertThat(filter.getServletContext(), nullValue());
}