### Question:
TreeListItem { public void updateView() { this.view.populate(this); } @Inject  TreeListItem(final View view); Node getElement(); String getDescription(); void setDescription(final String description); void addSubItem(final TreeListSubItem subItem); List<TreeListSubItem> getSubItems(); void updateView(); void setIsSelected(final boolean value); boolean getIsSelected(); void setDataSource(final DataObject dataSource); DataObject getDataSource(); void setOnIsSelectedChanged(final Consumer<TreeListItem> onIsSelectedChanged); Consumer<TreeListItem> getOnIsSelectedChanged();  }### Answer:
@Test public void testUpdateView() { treeListItem.updateView(); verify(view).populate(treeListItem); }