@Test public void testSetupMainTree() { final HTMLElement element = mock(HTMLElement.class); when(treeView.getElement()).thenReturn(element); view.setupMainTree(treeView); verify(divMainTree).appendChild(element); }
@Override public void setupMainTree(final DecisionNavigatorTreePresenter.View mainTreeComponent) { mainTree.appendChild(mainTreeComponent.getElement()); }
DecisionNavigatorView implements DecisionNavigatorPresenter.View { @Override public void setupMainTree(final DecisionNavigatorTreePresenter.View mainTreeComponent) { mainTree.appendChild(mainTreeComponent.getElement()); } }
DecisionNavigatorView implements DecisionNavigatorPresenter.View { @Override public void setupMainTree(final DecisionNavigatorTreePresenter.View mainTreeComponent) { mainTree.appendChild(mainTreeComponent.getElement()); } @Inject  DecisionNavigatorView(final HTMLDivElement mainTree,
                                 final HTMLDivElement decisionComponentsContainer,
                                 final HTMLDivElement decisionComponents); }
DecisionNavigatorView implements DecisionNavigatorPresenter.View { @Override public void setupMainTree(final DecisionNavigatorTreePresenter.View mainTreeComponent) { mainTree.appendChild(mainTreeComponent.getElement()); } @Inject  DecisionNavigatorView(final HTMLDivElement mainTree,
                                 final HTMLDivElement decisionComponentsContainer,
                                 final HTMLDivElement decisionComponents); @Override void init(final DecisionNavigatorPresenter presenter); @Override void setupMainTree(final DecisionNavigatorTreePresenter.View mainTreeComponent); @Override void setupDecisionComponents(final DecisionComponents.View decisionComponentsComponent); @Override void showDecisionComponentsContainer(); @Override void hideDecisionComponentsContainer(); }
DecisionNavigatorView implements DecisionNavigatorPresenter.View { @Override public void setupMainTree(final DecisionNavigatorTreePresenter.View mainTreeComponent) { mainTree.appendChild(mainTreeComponent.getElement()); } @Inject  DecisionNavigatorView(final HTMLDivElement mainTree,
                                 final HTMLDivElement decisionComponentsContainer,
                                 final HTMLDivElement decisionComponents); @Override void init(final DecisionNavigatorPresenter presenter); @Override void setupMainTree(final DecisionNavigatorTreePresenter.View mainTreeComponent); @Override void setupDecisionComponents(final DecisionComponents.View decisionComponentsComponent); @Override void showDecisionComponentsContainer(); @Override void hideDecisionComponentsContainer();  }