@Test public void testSetup() { final List<DecisionNavigatorItem> items = new ArrayList<>(); final Element element = mock(Element.class); doReturn(element).when(treeView).makeTree(items); treeView.setup(items); verify(this.items).appendChild(element); }
@Override public void setup(final List<DecisionNavigatorItem> items) { this.items.appendChild(makeTree(items)); }
DecisionNavigatorTreeView implements DecisionNavigatorTreePresenter.View { @Override public void setup(final List<DecisionNavigatorItem> items) { this.items.appendChild(makeTree(items)); } }
DecisionNavigatorTreeView implements DecisionNavigatorTreePresenter.View { @Override public void setup(final List<DecisionNavigatorItem> items) { this.items.appendChild(makeTree(items)); } @Inject  DecisionNavigatorTreeView(final HTMLDivElement view,
                                     final HTMLDivElement items,
                                     final ManagedInstance<TreeItem> managedInstance,
                                     final Elemental2DomUtil util); }
DecisionNavigatorTreeView implements DecisionNavigatorTreePresenter.View { @Override public void setup(final List<DecisionNavigatorItem> items) { this.items.appendChild(makeTree(items)); } @Inject  DecisionNavigatorTreeView(final HTMLDivElement view,
                                     final HTMLDivElement items,
                                     final ManagedInstance<TreeItem> managedInstance,
                                     final Elemental2DomUtil util); @Override void init(final DecisionNavigatorTreePresenter presenter); @Override HTMLElement getElement(); @Override void clean(); @Override void setup(final List<DecisionNavigatorItem> items); @Override void select(final String uuid); @Override void deselect(); }
DecisionNavigatorTreeView implements DecisionNavigatorTreePresenter.View { @Override public void setup(final List<DecisionNavigatorItem> items) { this.items.appendChild(makeTree(items)); } @Inject  DecisionNavigatorTreeView(final HTMLDivElement view,
                                     final HTMLDivElement items,
                                     final ManagedInstance<TreeItem> managedInstance,
                                     final Elemental2DomUtil util); @Override void init(final DecisionNavigatorTreePresenter presenter); @Override HTMLElement getElement(); @Override void clean(); @Override void setup(final List<DecisionNavigatorItem> items); @Override void select(final String uuid); @Override void deselect();  }