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

    DefaultWebApplication webApp = new DefaultWebApplication();
    assertThrows(UnsupportedOperationException.class, () -> webApp.getServletNames());
}