@Test
void testRemove() {

    DefaultWebApplicationExtensionContext context = new DefaultWebApplicationExtensionContext();
    DefaultWebApplication webApplication = new DefaultWebApplication();
    context.add(Test3Extension.class);
    context.configure(webApplication);
    webApplication.initialize();
    assertNull(webApplication.getAttribute(TestInitializer.class.getName()));
}