@Test
public void testWrapServletException() {

    ServletException servletException = new ServletException();
    IOException exception = ServletUtil.wrapServletException(servletException, "my message");
    assertEquals(servletException, exception.getCause());
    assertEquals("my message", exception.getMessage());
}