### Question:
DecisionNavigatorView implements DecisionNavigatorPresenter.View { @Override public void setupDecisionComponents(final DecisionComponents.View decisionComponentsComponent) { decisionComponents.appendChild(decisionComponentsComponent.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();  }### Answer:
@Test public void testSetupDecisionComponents() { final HTMLElement element = mock(HTMLElement.class); when(decisionComponentsView.getElement()).thenReturn(element); view.setupDecisionComponents(decisionComponentsView); verify(decisionComponents).appendChild(element); }