@Test
void testGetRootCause2() {

    ServletException exception = new ServletException(new RuntimeException());
    assertNotNull(exception.getRootCause());
    assertTrue(exception.getRootCause() instanceof RuntimeException);
}