### Question:
AppPropertySetupListener implements ServletContextListener { @Override public void contextDestroyed(ServletContextEvent sce) { System.getProperties().remove("com.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize"); }  @Override void contextInitialized(ServletContextEvent sce); @Override void contextDestroyed(ServletContextEvent sce);  }### Answer:
@Test public void testContextDestroyed() throws Exception { listener.contextDestroyed(sce); assertEquals(System.getProperty("com.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize"), null); }