@Test public void testClear() { testedTree.show(canvasHandler); testedTree.clear(); verify(view, atLeastOnce()).clear(); }
public void clear() { view.clear(); }
TreeExplorer implements IsWidget { public void clear() { view.clear(); } }
TreeExplorer implements IsWidget { public void clear() { view.clear(); } @Inject  TreeExplorer(final ChildrenTraverseProcessor childrenTraverseProcessor,
                        final TextPropertyProviderFactory textPropertyProviderFactory,
                        final Event<CanvasSelectionEvent> selectionEvent,
                        final DefinitionUtils definitionUtils,
                        final ShapeManager shapeManager,
                        final DOMGlyphRenderers domGlyphRenderers,
                        final @Any ManagedInstance<View> views); }
TreeExplorer implements IsWidget { public void clear() { view.clear(); } @Inject  TreeExplorer(final ChildrenTraverseProcessor childrenTraverseProcessor,
                        final TextPropertyProviderFactory textPropertyProviderFactory,
                        final Event<CanvasSelectionEvent> selectionEvent,
                        final DefinitionUtils definitionUtils,
                        final ShapeManager shapeManager,
                        final DOMGlyphRenderers domGlyphRenderers,
                        final @Any ManagedInstance<View> views); @SuppressWarnings("unchecked") void show(final CanvasHandler canvasHandler); void clear(); @PreDestroy void destroy(); @Override Widget asWidget(); CanvasHandler getCanvasHandler(); }
TreeExplorer implements IsWidget { public void clear() { view.clear(); } @Inject  TreeExplorer(final ChildrenTraverseProcessor childrenTraverseProcessor,
                        final TextPropertyProviderFactory textPropertyProviderFactory,
                        final Event<CanvasSelectionEvent> selectionEvent,
                        final DefinitionUtils definitionUtils,
                        final ShapeManager shapeManager,
                        final DOMGlyphRenderers domGlyphRenderers,
                        final @Any ManagedInstance<View> views); @SuppressWarnings("unchecked") void show(final CanvasHandler canvasHandler); void clear(); @PreDestroy void destroy(); @Override Widget asWidget(); CanvasHandler getCanvasHandler();  }