Exemplo n.º 1
0
        public void FinalPathNameFromPath()
        {
            string tempPath      = FileMethods.GetTempPath();
            string lowerTempPath = tempPath.ToLowerInvariant();

            tempPath.Should().NotBe(lowerTempPath);
            FileMethods.GetFinalPathName(lowerTempPath, 0, false).Should().Be(@"\\?\" + Paths.TrimTrailingSeparators(tempPath));
        }