public void GetFile_ExistingFile_ReturnsVirtualFileWithCorrectMetadata(
            string virtualPath,
            string virtualPathToRoot)
        {
            // arrange
            _virtualFiles.WriteFile(virtualPath, "some contents");

            // act
            var virtualFile = _virtualFiles.GetFile(virtualPath);

            // assert
            Assert.Equal(virtualPathToRoot, virtualFile.VirtualPath);
        }
        public void ExistingFile_ReturnsCorrectMetadata(
            string virtualPath,
            string expectedFileName,
            string expectedExtension,
            string expectedVirtualPath)
        {
            // arrange
            _virtualFiles.WriteFile(virtualPath, "some content");
            var virtualFile = _virtualFiles.GetFile(virtualPath);

            // act

            // assert
            Assert.Equal(expectedFileName, virtualFile.Name);
            Assert.Equal(expectedExtension, virtualFile.Extension);
            Assert.False(virtualFile.IsDirectory);
            Assert.Equal(expectedVirtualPath, virtualFile.VirtualPath);
            Assert.Equal(
                $"{TestConfiguration.RootDirectory}\\{expectedVirtualPath.Replace('/', '\\')}",
                virtualFile.RealPath
                );
        }