@Test
@SuppressWarnings("deprecation")
void testGetServlet() throws Exception {

    DefaultWebApplication webApp = new DefaultWebApplication();
    assertThrows(UnsupportedOperationException.class, () -> webApp.getServlet("always_null"));
}