public void SetUp() { this._DropService = new NuGenTaskDragDropService(); this._TaskTreeView = new NuGenTaskTreeView(); this._ServiceProvider = new NuGenTaskServiceProvider(); this._InitialCount = this._TaskTreeView.Nodes.Count; for (int i = 0; i < 10; i++) { NuGenFolderTreeNode folderNode = new NuGenFolderTreeNode(this._ServiceProvider); this._TaskTreeView.AddFolder(folderNode); for (int j = 0; j < 10; j++) { folderNode.Nodes.AddNode(new NuGenTaskTreeNode(this._ServiceProvider)); } } for (int i = 0; i < 10; i++) { this._TaskTreeView.AddTask(new NuGenTaskTreeNode(this._ServiceProvider)); } }