TreeModel implements Serializable { public ArrayList<NodeModel<T>> getAllLowNodes(NodeModel<T> addNode) { ArrayList<NodeModel<T>> array = new ArrayList<>(); NodeModel<T> parentNode = addNode.getParentNode(); while (parentNode != null) { NodeModel<T> lowNode = getLowNode(parentNode); while (lowNode != null) { array.add(lowNode); lowNode = getLowNode(lowNode); } parentNode = parentNode.getParentNode(); } return array; } TreeModel(NodeModel<T> rootNode); void addNode(NodeModel<T> start, NodeModel<T>... nodes); boolean removeNode(NodeModel<T> starNode, NodeModel<T> deleteNote); boolean inTree(NodeModel<T> starNode, NodeModel<T> deleteNote); NodeModel<T> getRootNode(); void setRootNode(NodeModel<T> rootNode); ArrayList<NodeModel<T>> getAllLowNodes(NodeModel<T> addNode); ArrayList<NodeModel<T>> getAllPreNodes(NodeModel<T> addNode); LinkedList<NodeModel<T>> getNodeChildNodes(NodeModel<T> node); void ergodicTreeInDeep(int msg); void ergodicTreeInWith(int msg); void addForTreeItem(ForTreeItem<NodeModel<T>> forTreeItem); Object deepClone();  }
@Test public void getAllLowNodes() throws Exception { }