@Test
    void configurator() throws Exception {
        assertThat(jettyBeans)
                .hasAtLeastOneElementOfType(ThreadPool.class)
                .hasAtLeastOneElementOfType(WebAppContext.class);
    }
Captures the exception raised in a Jetty handler block.
jetty/jetty9/src/test/java/com/linecorp/armeria/server/jetty/JettyServiceTest.java