@SuppressWarnings("deprecation")
@Test
public void testLogExceptionString() {

    Exception e = new Exception("It does not matter");
    servletContext.log(e, "whatever");
    replay(servletContext, config);
    ServletContextAdapter adapter = new ServletContextAdapter(config);
    adapter.log(e, "whatever");
}