### Question:
LogfileViewerConsolePlugin extends AbstractWebConsolePlugin { @Override public void destroy() { super.destroy(); removeDecoratorObjectFactoryFromServletContext(); this.tailServlet.destroy(); }  @Override void init(); @Override void destroy(); @SuppressWarnings("unused") String getCategory(); URL getResource(String path); @Override String getTitle(); @Override String getLabel();  }### Answer:
@Test public void testDestroy() { destroy(); verifyTailServletIsDestroyed(); }