TreeModel implements Serializable { public boolean removeNode(NodeModel<T> starNode, NodeModel<T> deleteNote) { boolean rm = false; int size = starNode.getChildNodes().size(); if (size > 0) { rm = starNode.getChildNodes().remove(deleteNote); } return rm; } 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 removeNode() throws Exception { }