@Test public void testSetupItems() { final ArrayList<DecisionNavigatorItem> items = new ArrayList<>(); doNothing().when(presenter).index(items); presenter.setupItems(items); verify(presenter).index(items); verify(view).clean(); verify(view).setup(items); }
public void setupItems(final List<DecisionNavigatorItem> items) { getIndexedItems().clear(); index(items); view.clean(); view.setup(items); }
DecisionNavigatorTreePresenter { public void setupItems(final List<DecisionNavigatorItem> items) { getIndexedItems().clear(); index(items); view.clean(); view.setup(items); } }
DecisionNavigatorTreePresenter { public void setupItems(final List<DecisionNavigatorItem> items) { getIndexedItems().clear(); index(items); view.clean(); view.setup(items); } @Inject  DecisionNavigatorTreePresenter(final View view); }
DecisionNavigatorTreePresenter { public void setupItems(final List<DecisionNavigatorItem> items) { getIndexedItems().clear(); index(items); view.clean(); view.setup(items); } @Inject  DecisionNavigatorTreePresenter(final View view); View getView(); void setupItems(final List<DecisionNavigatorItem> items); void removeAllItems(); DecisionNavigatorItem getActiveParent(); void setActiveParentUUID(final String activeParentUUID); void selectItem(final String uuid); void deselectItem(); }
DecisionNavigatorTreePresenter { public void setupItems(final List<DecisionNavigatorItem> items) { getIndexedItems().clear(); index(items); view.clean(); view.setup(items); } @Inject  DecisionNavigatorTreePresenter(final View view); View getView(); void setupItems(final List<DecisionNavigatorItem> items); void removeAllItems(); DecisionNavigatorItem getActiveParent(); void setActiveParentUUID(final String activeParentUUID); void selectItem(final String uuid); void deselectItem();  }