@Test public void testDestroy() { tested.destroy(); verify(view, times(1)).destroy(); }
@Override public void destroy() { getView().destroy(); actions.clear(); }
ActionsToolbox implements Toolbox<ActionsToolbox>,
                   Iterable<ToolboxAction> { @Override public void destroy() { getView().destroy(); actions.clear(); } }
ActionsToolbox implements Toolbox<ActionsToolbox>,
                   Iterable<ToolboxAction> { @Override public void destroy() { getView().destroy(); actions.clear(); } ActionsToolbox(final Supplier<AbstractCanvasHandler> canvasHandlerSupplier,
                          final Element<?> element,
                          final V view); }
ActionsToolbox implements Toolbox<ActionsToolbox>,
                   Iterable<ToolboxAction> { @Override public void destroy() { getView().destroy(); actions.clear(); } ActionsToolbox(final Supplier<AbstractCanvasHandler> canvasHandlerSupplier,
                          final Element<?> element,
                          final V view); ActionsToolbox<V> init(); ActionsToolbox add(final ToolboxAction<AbstractCanvasHandler> action); @Override Iterator<ToolboxAction> iterator(); int size(); String getElementUUID(); AbstractCanvasHandler getCanvasHandler(); AbstractCanvas getCanvas(); Shape<?> getShape(); @Override ActionsToolbox show(); @Override ActionsToolbox hide(); @Override void destroy(); @Override void hideAndDestroy(); V getView(); Glyph getGlyph(final ToolboxAction<AbstractCanvasHandler> action); String getTitle(final ToolboxAction<AbstractCanvasHandler> action); }
ActionsToolbox implements Toolbox<ActionsToolbox>,
                   Iterable<ToolboxAction> { @Override public void destroy() { getView().destroy(); actions.clear(); } ActionsToolbox(final Supplier<AbstractCanvasHandler> canvasHandlerSupplier,
                          final Element<?> element,
                          final V view); ActionsToolbox<V> init(); ActionsToolbox add(final ToolboxAction<AbstractCanvasHandler> action); @Override Iterator<ToolboxAction> iterator(); int size(); String getElementUUID(); AbstractCanvasHandler getCanvasHandler(); AbstractCanvas getCanvas(); Shape<?> getShape(); @Override ActionsToolbox show(); @Override ActionsToolbox hide(); @Override void destroy(); @Override void hideAndDestroy(); V getView(); Glyph getGlyph(final ToolboxAction<AbstractCanvasHandler> action); String getTitle(final ToolboxAction<AbstractCanvasHandler> action);  }