### Question:
FileLocationContextListener implements ServletContextListener { public void contextDestroyed(ServletContextEvent servletContextEvent) { }  void contextInitialized(ServletContextEvent servletContextEvent); void contextDestroyed(ServletContextEvent servletContextEvent);  }### Answer:
@Test public void testContextDestroyed() { System.out.println("contextDestroyed"); ServletContextEvent servletContextEvent = null; FileLocationContextListener instance = new FileLocationContextListener(); instance.contextDestroyed(servletContextEvent); }