@Test
void testSetAsyncSupported() {

    TestSnoopServlet servlet = new TestSnoopServlet();
    DefaultServletEnvironment environment = new DefaultServletEnvironment(null, null, servlet);
    assertFalse(environment.isAsyncSupported());
    environment.setAsyncSupported(true);
    assertTrue(environment.isAsyncSupported());
}