@Test public void testNewProjectNode() throws Exception { ProjectDescriptor data = mock(ProjectDescriptor.class); treeStructure.newProjectNode(data); verify(nodeFactory).newProjectNode(isNull(TreeNode.class), eq(data), eq(treeStructure)); }
public ProjectNode newProjectNode(@Nonnull ProjectDescriptor data) { return getNodeFactory().newProjectNode(null, data, this); }
GenericTreeStructure implements TreeStructure { public ProjectNode newProjectNode(@Nonnull ProjectDescriptor data) { return getNodeFactory().newProjectNode(null, data, this); } }
GenericTreeStructure implements TreeStructure { public ProjectNode newProjectNode(@Nonnull ProjectDescriptor data) { return getNodeFactory().newProjectNode(null, data, this); } protected  GenericTreeStructure(NodeFactory nodeFactory, EventBus eventBus, AppContext appContext,
                                   ProjectServiceClient projectServiceClient, DtoUnmarshallerFactory dtoUnmarshallerFactory); }
GenericTreeStructure implements TreeStructure { public ProjectNode newProjectNode(@Nonnull ProjectDescriptor data) { return getNodeFactory().newProjectNode(null, data, this); } protected  GenericTreeStructure(NodeFactory nodeFactory, EventBus eventBus, AppContext appContext,
                                   ProjectServiceClient projectServiceClient, DtoUnmarshallerFactory dtoUnmarshallerFactory); @Override void getRootNodes(@Nonnull AsyncCallback<Array<TreeNode<?>>> callback); @Nonnull @Override TreeSettings getSettings(); NodeFactory getNodeFactory(); @Override void getNodeByPath(@Nonnull final String path, @Nonnull final AsyncCallback<TreeNode<?>> callback); ProjectNode newProjectNode(@Nonnull ProjectDescriptor data); FileNode newFileNode(@Nonnull TreeNode parent, @Nonnull ItemReference data); FolderNode newFolderNode(@Nonnull TreeNode parent, @Nonnull ItemReference data); }
GenericTreeStructure implements TreeStructure { public ProjectNode newProjectNode(@Nonnull ProjectDescriptor data) { return getNodeFactory().newProjectNode(null, data, this); } protected  GenericTreeStructure(NodeFactory nodeFactory, EventBus eventBus, AppContext appContext,
                                   ProjectServiceClient projectServiceClient, DtoUnmarshallerFactory dtoUnmarshallerFactory); @Override void getRootNodes(@Nonnull AsyncCallback<Array<TreeNode<?>>> callback); @Nonnull @Override TreeSettings getSettings(); NodeFactory getNodeFactory(); @Override void getNodeByPath(@Nonnull final String path, @Nonnull final AsyncCallback<TreeNode<?>> callback); ProjectNode newProjectNode(@Nonnull ProjectDescriptor data); FileNode newFileNode(@Nonnull TreeNode parent, @Nonnull ItemReference data); FolderNode newFolderNode(@Nonnull TreeNode parent, @Nonnull ItemReference data);  }