@Test
@SuppressWarnings("deprecation")
void testLog2() {

    DefaultWebApplication webApp = new DefaultWebApplication();
    assertThrows(UnsupportedOperationException.class, () -> webApp.log(new IllegalStateException(), "TEST"));
}