@Test(expected = ServletInitializationException.class)
public void shouldThrowExceptionWhenInitializingInvalidServlet() throws Exception {

    servletContainer.getServletForClass(InvalidServletWithPrivateConstructor.class, servletConfig);
}