Example #1
0
 public void AddNewPath_PathExists_PathAtTopOfList()
 {
     using (TempFile existingFile = new TempFile())
     {
         _mruProjects.AddNewPath(existingFile.FileName);
         string[] mruPaths = _mruProjects.Paths;
         Assert.AreEqual(1, mruPaths.Length);
         Assert.AreEqual(existingFile.FileName, mruPaths[0]);
     }
 }