Example #1
0
        public void GetMyDocumentsDirectoryPath_CorrectILocalizedNames_ReturnsCorrectPath()
        {
            DirectoryProvider directoryProvider = new DirectoryProvider(Mock.Of <ILocalizedNames>());

            string myDocumentsPath = directoryProvider.GetMyDocumentsDirectoryPath();

            string expectedMyDocumentsPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);

            Assert.That(myDocumentsPath, Is.EqualTo(expectedMyDocumentsPath));
        }