@Test public void needChildrenEventTest() { final ParseTreeNode node = mock(ParseTreeNode.class); final ParseTreeItem item = new ParseTreeItem(display, node); display.needChildrenEvent(item); verify(presenter).handleNeedChildren(same(node)); assertThat(display.currentItem).isSameAs(item); }
public void needChildrenEvent(final ParseTreeItem parseTreeItem) { currentItem = parseTreeItem; presenter.handleNeedChildren(currentItem.getValue()); }
TreeTabDisplay extends JavafxDisplay<TreeTabPresenter> { public void needChildrenEvent(final ParseTreeItem parseTreeItem) { currentItem = parseTreeItem; presenter.handleNeedChildren(currentItem.getValue()); } }
TreeTabDisplay extends JavafxDisplay<TreeTabPresenter> { public void needChildrenEvent(final ParseTreeItem parseTreeItem) { currentItem = parseTreeItem; presenter.handleNeedChildren(currentItem.getValue()); }  }
TreeTabDisplay extends JavafxDisplay<TreeTabPresenter> { public void needChildrenEvent(final ParseTreeItem parseTreeItem) { currentItem = parseTreeItem; presenter.handleNeedChildren(currentItem.getValue()); }  @Override void init(); void parseTreeNodeShowEvent(final ParseTreeNode node); void needChildrenEvent(final ParseTreeItem parseTreeItem); }
TreeTabDisplay extends JavafxDisplay<TreeTabPresenter> { public void needChildrenEvent(final ParseTreeItem parseTreeItem) { currentItem = parseTreeItem; presenter.handleNeedChildren(currentItem.getValue()); }  @Override void init(); void parseTreeNodeShowEvent(final ParseTreeNode node); void needChildrenEvent(final ParseTreeItem parseTreeItem);  }