@Test(expected = FilterInitializationException.class)
public void shouldThrowExceptionWhenInitializingInvalidFilter() throws Exception {

    servletContainer.getFilterForClass(InvalidAbstractFilterWithPrivateConstructor.class, filterConfig);
}