@Test public void getAllPublishNodeIds_onlyRootNode() { List<String> allNodeIds = coursePublisherTestObject.getAllPublishNodeIds(editorTreeModel); assertEquals("Wrong size of nodes", 1, allNodeIds.size()); allNodeIds.contains(rootNodeIdent); }
List<String> getAllPublishNodeIds(CourseEditorTreeModel editorTreeModel) { final List<String> nodeIds = new ArrayList<String>(); addChildNodeIdRecursive(nodeIds, editorTreeModel.getRootNode()); return nodeIds; }
CoursePublisher { List<String> getAllPublishNodeIds(CourseEditorTreeModel editorTreeModel) { final List<String> nodeIds = new ArrayList<String>(); addChildNodeIdRecursive(nodeIds, editorTreeModel.getRootNode()); return nodeIds; } }
CoursePublisher { List<String> getAllPublishNodeIds(CourseEditorTreeModel editorTreeModel) { final List<String> nodeIds = new ArrayList<String>(); addChildNodeIdRecursive(nodeIds, editorTreeModel.getRootNode()); return nodeIds; }  }
CoursePublisher { List<String> getAllPublishNodeIds(CourseEditorTreeModel editorTreeModel) { final List<String> nodeIds = new ArrayList<String>(); addChildNodeIdRecursive(nodeIds, editorTreeModel.getRootNode()); return nodeIds; }  void publish(ICourse course, Identity publisherIdentity); }
CoursePublisher { List<String> getAllPublishNodeIds(CourseEditorTreeModel editorTreeModel) { final List<String> nodeIds = new ArrayList<String>(); addChildNodeIdRecursive(nodeIds, editorTreeModel.getRootNode()); return nodeIds; }  void publish(ICourse course, Identity publisherIdentity);  }