public void RenameTestWorkspace(TestWorkspace testWorkspace, string newTestWorkspaceName) { string testWorkspacePath = GetWorkspacePath(testWorkspace.ToString()); string testWorkspaceNewPath = GetWorkspacePath(newTestWorkspaceName); Directory.Move(testWorkspacePath, testWorkspaceNewPath); testWorkspaceAddRemoveListener.TestWorkspaceRenamed(testWorkspace, newTestWorkspaceName); testWorkspace.Rename(newTestWorkspaceName); }