GetFullPath() public method

public GetFullPath ( string fileName ) : string
fileName string
return string
Esempio n. 1
0
        public void GetFilePathReturnsCombinedPathEvenIfFileDoesNotExist()
        {
            // Arrange
            PhysicalFileSystem fs = new PhysicalFileSystem(testRoot);

            // Act
            string actual = fs.GetFullPath(@"tests\testGetFullPath.txt");

            // Assert
            Assert.Equal(Path.Combine(testRoot, @"tests\testGetFullPath.txt"), actual);
        }