### Question:
NodeConverter implements NodeToRelatedTreeConverter<E, MutableSettableStructuredNode<E>,
    LinkedTree<E>> { @Override public LinkedTree<E> treeFromRootNode(MutableSettableStructuredNode<E> node) { return (LinkedTree<E>) node; }  @Override LinkedTree<E> treeFromRootNode(MutableSettableStructuredNode<E> node); @Override Class<? extends OpenNode> forClass();  }### Answer:
@Test public void treeFromRootNode() { LinkedTree<String> child = new LinkedTree<>("child"); LinkedTree<String> root = new LinkedTree<>("root", new LinkedTree[] { child }); final NodeConverter<String> converter = new NodeConverter<>(); final LinkedTree<String> tree = converter.treeFromRootNode(root); assertEquals("root", tree.getRoot().getElement()); assertEquals("child", tree.getRoot().getChild(0).getElement()); assertEquals(1, tree.getRoot().getNumberOfChildren()); }