### Question:
TreeList { public Node getElement() { return view.getElement(); } @Inject  TreeList(final View view); void populate(final List<TreeListItem> items); void refresh(); List<TreeListItem> getCurrentItems(); void clear(); Node getElement(); void clearSelection(); List<TreeListItem> getSelectedItems(); void setOnSelectionChanged(final Consumer<List<TreeListItem>> onSelectionChanged);  }### Answer:
@Test public void testGetElement() { final Node actual = treeList.getElement(); assertEquals(element, actual); }