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